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] [day] [month] [year] [list]
Date:	Wed, 12 Nov 2008 00:39:27 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	patrick.ohly@...el.com
Cc:	nanog@...5b20a518b8f6864949bd940457dc124746ddc.nosense.org,
	netdev@...r.kernel.org, opurdila@...acom.com
Subject: Re: Storing hardware timestamps - how about using the new skb's
 control block?

From: Patrick Ohly <patrick.ohly@...el.com>
Date: Wed, 12 Nov 2008 09:27:18 +0100

> My understanding of sk_buff->cb might be wrong, but isn't each layer
> allowed to overwrite it as the packet traverses the different queues?

Right.

> skb_share_check() is not mandatory:

And besides, skb_share_check() doesn't check if somebody "owns" the
skb->cb[]

And if you bump the reference count or something silly like that to
get skb_share_check() to copy the packet, every single locally
destined TCP packet will be copied.  That will effectively kill
performance.

--
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