Skip to content

net: Fix use of proc_fs

Yonatan Linik bpf lkml netdev 2 versions – Applied

Status from this message: Applied, and queued for stable, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyApplied
  2. v11 patch 7 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1net: Fix use of proc_fsnet/packet/af_packet.c net/tls/tls_proc.c+5 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/1] net: Fix use of proc_fs

This patch fixes the failure of af_packet module initialization when CONFIG_PROC_FS=n.

The commit message itself has a pretty thorough explanation. I will just add that I made sure this fixes the problem, both by using socket from userspace and by looking at kernel logs.

This also fixes a similar error in tls_proc.c, found by Jakub Kicinski.

Yonatan Linik (1):
net: Fix use of proc_fs

 net/packet/af_packet.c | 2 ++
 net/tls/tls_proc.c     | 3 +++
 2 files changed, 5 insertions(+)

base-commit: bbf5c979011a099af5dc76498918ed7df445635b

Signature · 1 line
2.25.1