lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ