X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fopenvswitch%2Fvport.h;h=6e2b62f9d5950a101fcabc17ec1f28677f33ff34;hb=59e65b4bbfe7d0139ab1ab59cd27a5db95f5bb7b;hp=8ea3a96980acff90b1237387be70967c25f1236e;hpb=0b98f0c04245877ae0b625a7f0aa55b8ff98e0c4;p=firefly-linux-kernel-4.4.55.git diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h index 8ea3a96980ac..6e2b62f9d595 100644 --- a/net/openvswitch/vport.h +++ b/net/openvswitch/vport.h @@ -184,13 +184,6 @@ static inline struct vport *vport_from_priv(void *priv) int ovs_vport_receive(struct vport *, struct sk_buff *, const struct ip_tunnel_info *); -static inline void ovs_skb_postpush_rcsum(struct sk_buff *skb, - const void *start, unsigned int len) -{ - if (skb->ip_summed == CHECKSUM_COMPLETE) - skb->csum = csum_add(skb->csum, csum_partial(start, len, 0)); -} - static inline const char *ovs_vport_name(struct vport *vport) { return vport->dev->name;