mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
net: use skb_postpush_rcsum instead of own implementations
Replace individual implementations with the recently introduced skb_postpush_rcsum() helper. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Tom Herbert <tom@herbertland.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
321b4d4bd1
commit
6b83d28a55
5 changed files with 7 additions and 20 deletions
|
@ -58,7 +58,7 @@ static void netdev_port_receive(struct sk_buff *skb)
|
|||
return;
|
||||
|
||||
skb_push(skb, ETH_HLEN);
|
||||
ovs_skb_postpush_rcsum(skb, skb->data, ETH_HLEN);
|
||||
skb_postpush_rcsum(skb, skb->data, ETH_HLEN);
|
||||
ovs_vport_receive(vport, skb, skb_tunnel_info(skb));
|
||||
return;
|
||||
error:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue