diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-13 11:11:44 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-06-14 15:09:12 -0700 |
commit | b34df5e805a6e98cae0bc5bc80c1b52d9ff811de (patch) | |
tree | cc8d94ee92741fe21380180aeff3a6f12bb44adb /net/openvswitch/vport-internal_dev.c | |
parent | 45bfa52e36ef016b789eca73c7847db3f7b4742d (diff) |
openvswitch: make skb->csum consistent with rest of networking stack.
Following patch keeps skb->csum correct across ovs.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/vport-internal_dev.c')
-rw-r--r-- | net/openvswitch/vport-internal_dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 84e0a037918..e284c7e1fec 100644 --- a/net/openvswitch/vport-internal_dev.c +++ b/net/openvswitch/vport-internal_dev.c @@ -221,6 +221,7 @@ static int internal_dev_recv(struct vport *vport, struct sk_buff *skb) skb->dev = netdev; skb->pkt_type = PACKET_HOST; skb->protocol = eth_type_trans(skb, netdev); + skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); netif_rx(skb); |