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: <1327311836.2525.6.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date:	Mon, 23 Jan 2012 10:43:56 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Viral Mehta <viral.vkm@...il.com>
Cc:	"Pradeep A. Dalvi" <netdev@...deepdalvi.com>,
	netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
	Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netdev/ethernet: dev_alloc_skb to netdev_alloc_skb

Le lundi 23 janvier 2012 à 14:10 +0530, Viral Mehta a écrit :
> On Sun, Jan 22, 2012 at 2:27 AM, Pradeep A. Dalvi
> <netdev@...deepdalvi.com> wrote:
> > Replaced deprecating dev_alloc_skb with netdev_alloc_skb in drivers/net/ethernet
> >
> > Signed-off-by: Pradeep A. Dalvi <netdev@...deepdalvi.com>
> 
> and these too ??
> 
> vmehta@...almehta:~/linux-3.2/drivers/infiniband/hw$ grep dev_alloc_skb -r .
> ./ipath/ipath_driver.c:	skb = __dev_alloc_skb(len, gfp_mask);
> ./nes/nes_cm.c:	skb = dev_alloc_skb(MAX_CM_BUFFER);
> ./nes/nes_cm.c:		skb = dev_alloc_skb(MAX_CM_BUFFER);

Those should probably use a mere alloc_skb(), since they dont need the
NET_SKB_PAD

> ./nes/nes_cm.c:		skb = dev_alloc_skb(MAX_CM_BUFFER);
> ./nes/nes_cm.c:		skb = dev_alloc_skb(MAX_CM_BUFFER);
> ./nes/nes_cm.c:		skb = dev_alloc_skb(MAX_CM_BUFFER);
> ./nes/nes_hw.c:		skb = dev_alloc_skb(nesvnic->max_frame_size);
> ./nes/nes_hw.c:		skb = dev_alloc_skb(nesvnic->max_frame_size);
> ./nes/nes_mgt.c:		skb = dev_alloc_skb(mgtvnic->nesvnic->max_frame_size);
> ./nes/nes_mgt.c:			skb = dev_alloc_skb(nesvnic->max_frame_size);
> ./amso1100/c2.c:	skb = dev_alloc_skb(c2_port->rx_buf_size);
> vmehta@...almehta:~/linux-3.2/drivers/infiniband/hw$
> --


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ