]> 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)
commitafdc428b7e84eeac4a1991a809c195e53982209d
treed3ceca67cc7caf6a34d8d5b745b7f02549c5920a
parent691dfaa33d10ae7a8c40acdda8fc0a38c14f352c
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