Skip to content

fix for OOPS in pernet list operations if CONFIG_NET_NS undefined

Denis V. Lunev containers netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2cleanup pernet operation without CONFIG_NET_NSnet/core/net_namespace.c+18 -02 replies
2/2move unneeded data to initdata sectiondrivers/net/loopback.c fs/proc/proc_net.c include/net/net_namespace.h +3 more+9 -78 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchDenis V. Lunev
1/2
2/2Signed-of-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fix for OOPS in pernet list operations if CONFIG_NET_NS undefined

These patches are addressed to the oops reported by the Cedric Le Goater a week ago. The pernet_operations were discarder during kernel boot and this breaks further operations as this

Though, the patch from Pavel Emelyanov was partially reverted by the Eric W. Biederman [commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35]

So, I revert the Eric patch (actually, Eric one can be simply dropped) and fix original code. There is no need for such complex code if CONFIG_NET_NS is not defined.