net: netpoll and netconsole fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v11 patch 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netpoll: fix NULL pointer dereference in netpoll_cleanupnet/ | +4 | 0 replies | |
| 2/2 | netconsole: fix a deadlock with rtnl and netconsole's mutexdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH -net v2 0/2] net: netpoll and netconsole fixes
Hi,
This small patchset fixes a possible race condition in netpoll_cleanup which can lead to a NULL pointer dereference because the check and manipulation of np->dev are done outside of the rtnl lock (patch 01). The second patch fixes a deadlock in netconsole and does a trivial comment style fix.
v2: fix the function style in patch 01
Best regards,
Nikolay Aleksandrov
Nikolay Aleksandrov (2):
netpoll: fix NULL pointer dereference in netpoll_cleanup
netconsole: fix a deadlock with rtnl and netconsole's mutex
drivers/net/netconsole.c | 5 +---- net/core/netpoll.c | 9 ++++----- 2 files changed, 5 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.1.4