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

From: Yonatan Linik
Date: Mon Dec 14 2020 - 15:30:14 EST


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