lkml.org 
[lkml]   [2020]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/1] net: Fix use of proc_fs
Date
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

\
 
 \ /
  Last update: 2020-12-14 21:31    [W:0.042 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site