]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Eliminate dependency on UDP socket in transmit path
authorTom Herbert <therbert@google.com>
Tue, 20 Jan 2015 19:23:05 +0000 (11:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 07:15:40 +0000 (23:15 -0800)
commit723eac2a34a848842e748a96be9e6f74bc74f1f6
tree81666ac4a5bb62098501eb04372a87a2d2643059
parent16962dbfdc316f2b9d241c6f2d8a2a0c92d38ff0
vxlan: Eliminate dependency on UDP socket in transmit path

In the vxlan transmit path there is no need to reference the socket
for a tunnel which is needed for the receive side. We do, however,
need the vxlan_dev flags. This patch eliminate references
to the socket in the transmit path, and changes VXLAN_F_UNSHAREABLE
to be VXLAN_F_RCV_FLAGS. This mask is used to store the flags
applicable to receive (GBP, CSUM6_RX, and REMCSUM_RX) in the
vxlan_sock flags.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h
net/openvswitch/vport-vxlan.c