Re: [PATCH] pppoe: fix race at init time
From: David Miller <davem@davemloft.net>
Date: 2009-08-12 23:39:57
From: David Miller <davem@davemloft.net>
Date: 2009-08-12 23:39:57
From: Cyrill Gorcunov <redacted> Date: Wed, 29 Jul 2009 18:46:42 +0400
net,pppoe: fixup module init/exit subsequent calls pernet data should allocated first and freed last on module init/exit routines otherwise it's possible to have unserialized calls to packet handling routines. Signed-off-by: Cyrill Gorcunov <redacted>
Still no feedback on this one, but it looks totally correct to me. So I've applied it to net-next-2.6 so that it doesn't get lost and if it turns out we need it to actually fix a user reported bug we can toss it into net-2.6 too.