diff options
author | David S. Miller <davem@davemloft.net> | 2018-07-02 21:26:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-02 21:29:26 -0400 |
commit | 5cd3da4ba2397ef07226ca2aa5094ed21ff8198f (patch) | |
tree | caa3c5968df02c296e9644a98c00e759d011b44c /include/linux/netdevice.h | |
parent | f6779e4e53b6177c319f05b61a5c447137d0ab70 (diff) | |
parent | d0fbad0aec1df29717fab736eb24c8a49cf2c70b (diff) |
Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
Simple overlapping changes in stmmac driver.
Adjust skb_gro_flush_final_remcsum function signature to make GRO list
changes in net-next, as per Stephen Rothwell's example merge
resolution.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 8bf8d6149f79..64480a0f2c16 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2796,11 +2796,31 @@ static inline void skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, | |||
2796 | if (PTR_ERR(pp) != -EINPROGRESS) | 2796 | if (PTR_ERR(pp) != -EINPROGRESS) |
2797 | NAPI_GRO_CB(skb)->flush |= flush; | 2797 | NAPI_GRO_CB(skb)->flush |= flush; |
2798 | } | 2798 | } |
2799 | static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb, | ||
2800 | struct sk_buff *pp, | ||
2801 | int flush, | ||
2802 | struct gro_remcsum *grc) | ||
2803 | { | ||
2804 | if (PTR_ERR(pp) != -EINPROGRESS) { | ||
2805 | NAPI_GRO_CB(skb)->flush |= flush; | ||
2806 | skb_gro_remcsum_cleanup(skb, grc); | ||
2807 | skb->remcsum_offload = 0; | ||
2808 | } | ||
2809 | } | ||
2799 | #else | 2810 | #else |
2800 | static inline void skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, int flush) | 2811 | static inline void skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, int flush) |
2801 | { | 2812 | { |
2802 | NAPI_GRO_CB(skb)->flush |= flush; | 2813 | NAPI_GRO_CB(skb)->flush |= flush; |
2803 | } | 2814 | } |
2815 | static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb, | ||
2816 | struct sk_buff *pp, | ||
2817 | int flush, | ||
2818 | struct gro_remcsum *grc) | ||
2819 | { | ||
2820 | NAPI_GRO_CB(skb)->flush |= flush; | ||
2821 | skb_gro_remcsum_cleanup(skb, grc); | ||
2822 | skb->remcsum_offload = 0; | ||
2823 | } | ||
2804 | #endif | 2824 | #endif |
2805 | 2825 | ||
2806 | static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev, | 2826 | static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev, |