[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100126.051147.256313206.davem@davemloft.net>
Date: Tue, 26 Jan 2010 05:11:47 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: shanwei@...fujitsu.com, yasuyuki.kozakai@...hiba.co.jp,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] IPv6: conntrack: Use protocol-related
initialization routine to initial queues of IPv6 connection track
From: Patrick McHardy <kaber@...sh.net>
Date: Tue, 26 Jan 2010 13:46:46 +0100
> Oops, sorry. Not sure why I missed this, I've successfully
> tested that change multiple times.
This situation is error prone, and I don't blame you for not catching
it, because these common ipv6 fragmentation functions are assuming
things about the layout of the first few struct members of the
container in which the top level data structure lives.
What should happen is that when such an assumption exists, it should
be explicitly codified.
Just like how we embed struct sock_common in both struct socket
and in the TCP time-wait minisockets.
Anyways, meanwhile I'll apply the fix. And yes I know it needs
to go to stable too... :-)
--
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