projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'v4.4/topic/mm-kaslr-pax_usercopy' into linux-linaro...
[firefly-linux-kernel-4.4.55.git]
/
net
/
openvswitch
/
vport.h
diff --git
a/net/openvswitch/vport.h
b/net/openvswitch/vport.h
index 8ea3a96980acff90b1237387be70967c25f1236e..6e2b62f9d5950a101fcabc17ec1f28677f33ff34 100644
(file)
--- 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 *);
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;
static inline const char *ovs_vport_name(struct vport *vport)
{
return vport->dev->name;