Proper netlink kernel sockets disposal.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 1 replyIn review
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Alexey Dobriayn |
|---|---|
| Series | T-b T-b T-b T-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4 net-2.6.25] Proper netlink kernel sockets disposal.
Alexey Dobriyan found, that virtualized netlink kernel sockets (fibl & rtnl) are leaked during namespace start/stop loop.
Leaking fix (simple and obvious) reveals that netlink kernel socket disposal leads to OOPSes:
- nl_table[protocol]->listeners is double freed
- sometimes during namespace stop netlink_sock_destruct BUG_TRAP(!atomic_read(&sk->sk_rmem_alloc)); is hit
This set address all these issues.
Signed-off-by Denis V. Lunev <[email protected]>
Tested-by Alexey Dobriayn <[email protected]>