summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-05-09 23:43:40 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2014-05-12 07:43:21 +0200
commitfd71143645a9958e437c8cf394be2c44a6acb23a (patch)
tree517be58d867af27bacb017302b3e8ccab8d1075a /net/ipv4
parentedb666f07e539d92f63284213d72083ed8ac05ea (diff)
downloadlwn-fd71143645a9958e437c8cf394be2c44a6acb23a.tar.gz
lwn-fd71143645a9958e437c8cf394be2c44a6acb23a.zip
vti6: Don't unregister pernet ops twice on init errors
If we fail to register one of the xfrm protocol handlers we will unregister the pernet ops twice on the error exit path. This will probably lead to a kernel panic as the double deregistration leads to a double kfree(). Fix this by removing one of the calls to do it only once. Fixes: fa9ad96d49 ("vti6: Update the ipv6 side to use its own...") Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions