From ebcce9a8a1b87f00ce43e6285232616b7c7992f1 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Fri, 10 Aug 2018 10:59:55 +0200 Subject: [PATCH] Remove promiscuous log message --- .../hack-4.14/999-stop-promiscuous-info.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 root/target/linux/generic/hack-4.14/999-stop-promiscuous-info.patch diff --git a/root/target/linux/generic/hack-4.14/999-stop-promiscuous-info.patch b/root/target/linux/generic/hack-4.14/999-stop-promiscuous-info.patch new file mode 100644 index 00000000..2dc06ee6 --- /dev/null +++ b/root/target/linux/generic/hack-4.14/999-stop-promiscuous-info.patch @@ -0,0 +1,14 @@ +--- a/net/core/dev.c 2018-08-10 10:31:41.199494561 +0200 ++++ b/net/core/dev.c 2018-08-10 10:32:03.635272509 +0200 +@@ -6613,9 +6613,11 @@ + } + } + if (dev->flags != old_flags) { ++ /* + pr_info("device %s %s promiscuous mode\n", + dev->name, + dev->flags & IFF_PROMISC ? "entered" : "left"); ++ */ + if (audit_enabled) { + current_uid_gid(&uid, &gid); + audit_log(current->audit_context, GFP_ATOMIC,