public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RFC 5] cleaning up struct sock
@ 2002-01-02  7:00 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2002-01-02  7:00 UTC (permalink / raw)
  To: David S. Miller, SteveW, jschlst, ncorbic, eis, dag, torvalds,
	marcelo, netdev, linux-kernel

Hi,

	This one turns IP_SK and IP6_PINFO usage the style TCP_PINFO and to
some extent IP6_PINFO (and its previous equivalents, sk->tp_pinfo.af_tcp
and sk->net_pinfo.ipv6), i.e., using a local variable to hold the result of
IP_SK/IP6_PINFO/TCP_PINFO and use this variable instead of the ugly
MACRO()->struct_member style. It also fixed a simple error in IP6_PINFO
that was causing oopses on IPv6 connections (it was using the tcp area).

	The fs unbork patch by Daniel Phillips also uses the same approach
wrt local variables.

	It still doesn't make the IPv6 family protocols use each a private
slabcache, i.e., there's still only one slabcache for all IPv6 protocols,
I'll work on this RSN.

	Patch available at:

http://www.kernel.org/pub/linux/kernel/people/acme/v2.5/2.5.2-pre6
sock.cleanup-2.5.2-pre6.bz2

	Comments and test results are welcome.

- Arnaldo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-02  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-02  7:00 [PATCH][RFC 5] cleaning up struct sock Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox