Skip to content

net: netpoll and netconsole fixes

Nikolay Aleksandrov netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netpoll: fix NULL pointer dereference in netpoll_cleanupnet/core/netpoll.c+4 -50 replies
2/2netconsole: fix a deadlock with rtnl and netconsole's mutexdrivers/net/netconsole.c+1 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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