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]
Message-Id: <20080512.220121.166961544.davem@davemloft.net>
Date:	Mon, 12 May 2008 22:01:21 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	johannes@...solutions.net
Cc:	tomasw@...il.com, linville@...driver.com, netdev@...r.kernel.org,
	linux-wireless@...r.kernel.org
Subject: Re: [RFC v2] mac80211: assign needed_headroom/tailroom for netdevs

From: David Miller <davem@...emloft.net>
Date: Mon, 05 May 2008 15:37:30 -0700 (PDT)

Just a heads up that I'm adding this to my tree as well.

> diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
> index f35eaea..86f0e36 100644
> --- a/net/mac80211/tx.c
> +++ b/net/mac80211/tx.c
> @@ -1562,13 +1562,13 @@ int ieee80211_subif_start_xmit(struct sk_buff *skb,
>  	 * be cloned. This could happen, e.g., with Linux bridge code passing
>  	 * us broadcast frames. */
>  
> -	if (head_need > 0 || skb_cloned(skb)) {
> +	if (head_need > 0 || skb_header_cloned(skb)) {
>  #if 0
>  		printk(KERN_DEBUG "%s: need to reallocate buffer for %d bytes "
>  		       "of headroom\n", dev->name, head_need);
>  #endif
>  
> -		if (skb_cloned(skb))
> +		if (skb_header_cloned(skb))
>  			I802_DEBUG_INC(local->tx_expand_skb_head_cloned);
>  		else
>  			I802_DEBUG_INC(local->tx_expand_skb_head);
--
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