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: <20090319.202040.227321807.davem@davemloft.net>
Date:	Thu, 19 Mar 2009 20:20:40 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	galak@...nel.crashing.org
Cc:	netdev@...r.kernel.org
Subject: Re: skb's & hw buffer mgmt

From: Kumar Gala <galak@...nel.crashing.org>
Date: Thu, 19 Mar 2009 21:55:18 -0500

> It appears that you allocate a bunch of pages, seed the HW buffer
> manager.  As you receive packets you setup the skb via
> niu_process_rx_pkt()/niu_rx_skb_append().  I'm a little confused
> about how the non-paged data in the skb itself is actually used.
> How does skb->data actually point to anything meaningful?

It's empty except for the ethernet header which is copied from
the paged data area with the lines:

	skb_reserve(skb, NET_IP_ALIGN);
	__pskb_pull_tail(skb, min(len, NIU_RXPULL_MAX));
--
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