]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: allow a user to set TTL value
authorVincent Bernat <bernat@luffy.cx>
Tue, 30 Oct 2012 10:27:16 +0000 (10:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 19:24:01 +0000 (15:24 -0400)
commit2f63a09128e8a5d6fd0e52a19940478f57e4d357
tree33d1d3e81d46b0de46a248167615374bf52ed4c0
parentab266726c84785295e2b962ed07e38211e92a0da
vxlan: allow a user to set TTL value

"ip link add ... type vxlan ... ttl X" allows a user to set the TTL
used by a VXLAN for encapsulation. The provided value was ignored by
vxlan module and the default value of 1 was used when encapsulating
multicast packets.

Signed-off-by: Vincent Bernat <bernat@luffy.cx>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c