[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1359621076.2814.0.camel@cr0>
Date:	Thu, 31 Jan 2013 16:31:16 +0800
From:	Cong Wang <amwang@...hat.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, jesse@...ira.com
Subject: Re: [Patch net-next] openvswitch: adjust skb_gso_segment() for rx
 path
On Wed, 2013-01-30 at 22:46 -0500, David Miller wrote:
> 
> Instead of having the crazy test, make the caller
> tell the context, TX or RX.
> 
> struct sk_buff *__skb_gso_segment(struct sk_buff *skb,
> 				  netdev_features_t features,
> 				  bool tx_path);
> 
> static inline struct sk_buff *
> skb_gso_segment(struct sk_buff *skb, netdev_features_t features)
> {
> 	__skb_gso_segment(skb, features, true);
> }
Yeah, good idea! Will do.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
