From 6d00706c212fd97e1c4d22e550d8aa6d100f16d5 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Fri, 26 Apr 2019 21:22:48 +0200 Subject: [PATCH] Add remove promiscuous msg patch --- .../hack-4.19/999-stop-promiscuous-info.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 root/target/linux/generic/hack-4.19/999-stop-promiscuous-info.patch diff --git a/root/target/linux/generic/hack-4.19/999-stop-promiscuous-info.patch b/root/target/linux/generic/hack-4.19/999-stop-promiscuous-info.patch new file mode 100644 index 00000000..2dc06ee6 --- /dev/null +++ b/root/target/linux/generic/hack-4.19/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,