netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/3] ipv6: fix error path of inet6_init()
@ 2018-08-28 11:40 Sabrina Dubroca
  2018-08-28 11:40 ` [PATCH net 1/3] ipv6: fix cleanup ordering for ip6_mr failure Sabrina Dubroca
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sabrina Dubroca @ 2018-08-28 11:40 UTC (permalink / raw)
  To: netdev; +Cc: Sabrina Dubroca, Xin Long

The error path of inet6_init() can trigger multiple kernel panics,
mostly due to wrong ordering of cleanups. This series fixes those
issues.

Sabrina Dubroca (3):
  ipv6: fix cleanup ordering for ip6_mr failure
  ipv6: fix cleanup ordering for pingv6 registration
  net: rtnl: return early from rtnl_unregister_all when protocol isn't
    registered

 net/core/rtnetlink.c |  4 ++++
 net/ipv6/af_inet6.c  | 10 +++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-30  6:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28 11:40 [PATCH net 0/3] ipv6: fix error path of inet6_init() Sabrina Dubroca
2018-08-28 11:40 ` [PATCH net 1/3] ipv6: fix cleanup ordering for ip6_mr failure Sabrina Dubroca
2018-08-28 11:40 ` [PATCH net 2/3] ipv6: fix cleanup ordering for pingv6 registration Sabrina Dubroca
2018-08-28 11:40 ` [PATCH net 3/3] net: rtnl: return early from rtnl_unregister_all when protocol isn't registered Sabrina Dubroca
2018-08-28 15:30 ` [PATCH net 0/3] ipv6: fix error path of inet6_init() Xin Long
2018-08-30  2:29 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).