linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] net: Fix use of proc_fs
@ 2020-12-14 20:25 Yonatan Linik
  2020-12-14 20:25 ` [PATCH v2 1/1] " Yonatan Linik
  0 siblings, 1 reply; 3+ messages in thread
From: Yonatan Linik @ 2020-12-14 20:25 UTC (permalink / raw)
  To: davem, kuba
  Cc: ast, daniel, kafai, songliubraving, yhs, andriin, john.fastabend,
	kpsingh, willemb, john.ogness, arnd, maowenan, colin.king,
	orcohen, netdev, linux-kernel, bpf, Yonatan Linik

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
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-15  3:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 20:25 [PATCH v2 0/1] net: Fix use of proc_fs Yonatan Linik
2020-12-14 20:25 ` [PATCH v2 1/1] " Yonatan Linik
2020-12-15  3:41   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).