summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2017-07-21 12:49:31 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-24 22:52:59 +0200
commitae847f40b6418a7d6e197f6ef0d85f40e313c4d4 (patch)
tree9793fc7c21ee9924d32f56f61c607228a35ae40e /drivers/net/vxlan.c
parentnet: add infrastructure to un-offload UDP tunnel port (diff)
downloadlinux-ae847f40b6418a7d6e197f6ef0d85f40e313c4d4.tar.xz
linux-ae847f40b6418a7d6e197f6ef0d85f40e313c4d4.zip
net: call udp_tunnel_get_rx_info when NETIF_F_RX_UDP_TUNNEL_PORT is toggled
NETIF_F_RX_UDP_TUNNEL_PORT is special, in that we need to do more than just flip the bit in dev->features. When disabling we must also clear currently offloaded ports from the device, and when enabling we must tell the device to offload the ports it can. Because vxlan stores its sockets in a hashtable and they are inserted at the head of per-bucket lists, switching the feature off and then on can result in a different set of ports being offloaded (depending on the HW's limits). Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions