]> git.baikalelectronics.ru Git - kernel.git/commit
net: check UDP tunnel RX port offload feature before calling tunnel ndo ndo
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 21 Jul 2017 10:49:29 +0000 (12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:52:59 +0000 (13:52 -0700)
commit79b2030c0d59c6dc649a390861d2675759e3aef9
treea3633eddac899dba0e748d375f3906d61e5765cf
parentef344f97229dbf3b65c4cc96f8020252bb9516f0
net: check UDP tunnel RX port offload feature before calling tunnel ndo ndo

If NETIF_F_RX_UDP_TUNNEL_PORT was disabled on a given netdevice, skip
the tunnel offload ndo call during tunnel port creation and deletion.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_tunnel.c