OSDN Git Service

ip6_gre: Make IP6GRE and IP6GRETAP devices always NETIF_F_LLTX
authorPeilin Ye <peilin.ye@bytedance.com>
Fri, 29 Apr 2022 05:25:47 +0000 (22:25 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 08:30:33 +0000 (10:30 +0200)
commitb11ebf2ca2c118ed8767fc37a151d5c70844617d
treeaac9db6af288e593edb6fb6355c6c9d6a1e5dbc1
parent020e8f60aa8b5da6a18767a41ced3fb5d5fb47e7
ip6_gre: Make IP6GRE and IP6GRETAP devices always NETIF_F_LLTX

Recently we made o_seqno atomic_t.  Stop special-casing TUNNEL_SEQ, and
always mark IP6GRE[TAP] devices as NETIF_F_LLTX, since we no longer need
the TX lock (&txq->_xmit_lock).

Signed-off-by: Peilin Ye <peilin.ye@bytedance.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/ipv6/ip6_gre.c