mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
[NET]: Replace CONFIG_NET_DEBUG with sysctl.
Covert network warning messages from a compile time to runtime choice. Removes kernel config option and replaces it with new /proc/sys/net/core/warnings. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ae40eb1ef3
commit
a2a316fd06
6 changed files with 25 additions and 14 deletions
|
@ -32,6 +32,8 @@
|
|||
|
||||
int net_msg_cost = 5*HZ;
|
||||
int net_msg_burst = 10;
|
||||
int net_msg_warn = 1;
|
||||
EXPORT_SYMBOL(net_msg_warn);
|
||||
|
||||
/*
|
||||
* All net warning printk()s should be guarded by this function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue