diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-02-14 04:44:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-15 15:16:03 -0500 |
commit | 05e8ef4ab2d8087d360e814d14da20b9f7fb2283 (patch) | |
tree | f5161c863bff859fd1c52e36d88fe4a10b84af0f /include/linux/netdevice.h | |
parent | 14bbd6a565e1bcdc240d44687edb93f721cfdf99 (diff) |
net: factor out skb_mac_gso_segment() from skb_gso_segment()
This function will be used in next GRE_GSO patch. This patch does
not change any functionality. It only exports skb_mac_gso_segment()
function.
[ Use skb_reset_mac_len() -DaveM ]
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 9deb672d999f..920361bc27e7 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2671,6 +2671,8 @@ extern void netdev_upper_dev_unlink(struct net_device *dev, | |||
2671 | extern int skb_checksum_help(struct sk_buff *skb); | 2671 | extern int skb_checksum_help(struct sk_buff *skb); |
2672 | extern struct sk_buff *__skb_gso_segment(struct sk_buff *skb, | 2672 | extern struct sk_buff *__skb_gso_segment(struct sk_buff *skb, |
2673 | netdev_features_t features, bool tx_path); | 2673 | netdev_features_t features, bool tx_path); |
2674 | extern struct sk_buff *skb_mac_gso_segment(struct sk_buff *skb, | ||
2675 | netdev_features_t features); | ||
2674 | 2676 | ||
2675 | static inline | 2677 | static inline |
2676 | struct sk_buff *skb_gso_segment(struct sk_buff *skb, netdev_features_t features) | 2678 | struct sk_buff *skb_gso_segment(struct sk_buff *skb, netdev_features_t features) |