]> git.baikalelectronics.ru Git - kernel.git/commit
ip_gre: Make GRE and GRETAP devices always NETIF_F_LLTX
authorPeilin Ye <peilin.ye@bytedance.com>
Fri, 29 Apr 2022 05:25:21 +0000 (22:25 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 08:30:33 +0000 (10:30 +0200)
commitf07464e41678fb8ad22f1445a667725409b39953
treed3ceca67cc7caf6a34d8d5b745b7f02549c5920a
parent56500f9130338e05e5d74e8af4e90c6b10c03467
ip_gre: Make GRE and GRETAP devices always NETIF_F_LLTX

Recently we made o_seqno atomic_t.  Stop special-casing TUNNEL_SEQ, and
always mark GRE[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/ipv4/ip_gre.c