]> git.baikalelectronics.ru Git - kernel.git/commit
net: openvswitch: Use 'skb_push_rcsum()' instead of hand coding it
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 4 Apr 2021 07:11:03 +0000 (09:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Apr 2021 08:43:02 +0000 (01:43 -0700)
commit3b8db5f601b330b2b76ee276e399c560be70967e
treea1c4c52998a03949aab068aaf071e2e98b6a69ca
parentc0a7143d41510d91994ccc71b86f42fdf962105e
net: openvswitch: Use 'skb_push_rcsum()' instead of hand coding it

'skb_push()'/'skb_postpush_rcsum()' can be replaced by an equivalent
'skb_push_rcsum()' which is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c
net/openvswitch/vport-netdev.c