Signed-off-by: Joe Stringer <joestrin...@nicira.com> --- datapath/actions.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/datapath/actions.c b/datapath/actions.c index 6e32c00..41e30e3 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -168,10 +168,7 @@ static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, if (unlikely(err)) return err; - if (skb->ip_summed == CHECKSUM_COMPLETE) - skb->csum = csum_sub(skb->csum, - csum_partial(skb_mpls_header(skb), - MPLS_HLEN, 0)); + skb_postpull_rcsum(skb, skb_mpls_header(skb), MPLS_HLEN); memmove(skb_mac_header(skb) + MPLS_HLEN, skb_mac_header(skb), skb->mac_len); -- 2.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev