[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.GSO.4.63.1208181729020.7404@stinky-local.trash.net>
Date: Sat, 18 Aug 2012 17:32:31 +0200 (MEST)
From: Patrick McHardy <kaber@...sh.net>
To: davem@...emloft.net
cc: netdev@...r.kernel.org
Subject: [PATCH]: net: ipv6: fix oops in inet_putpeer()
The attached patch fixes an oops in inet_putpeer(). Please see the
changelog entry for details.
An alternative fix would be to check whether rt6_peer_ptr() returns
NULL before invoking inet_putpeer(), but properly initializing the
peer looks cleaner to me.
View attachment "xfrm.diff" of type "TEXT/PLAIN" (3608 bytes)
Powered by blists - more mailing lists