From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Patch "batman-adv: set .owner to THIS_MODULE" has been added to the 4.4-stable tree From: Date: Tue, 23 Nov 2021 13:42:44 +0100 In-Reply-To: <20211120123939.260723-8-sven@narfation.org> Message-ID: <163767136412366@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ap420073@gmail.com, b.a.t.m.a.n@lists.open-mesh.org, gregkh@linuxfoundation.org, sven@narfation.org, sw@simonwunderlich.de Cc: stable-commits@vger.kernel.org This is a note to let you know that I've just added the patch titled batman-adv: set .owner to THIS_MODULE to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: batman-adv-set-.owner-to-this_module.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From foo@baz Tue Nov 23 01:39:02 PM CET 2021 From: Sven Eckelmann Date: Sat, 20 Nov 2021 13:39:35 +0100 Subject: batman-adv: set .owner to THIS_MODULE To: stable@vger.kernel.org Cc: b.a.t.m.a.n@lists.open-mesh.org, Taehee Yoo , Simon Wunderlich , Sven Eckelmann Message-ID: <20211120123939.260723-8-sven@narfation.org> From: Taehee Yoo commit 14a2e551faea53d45bc11629a9dac88f88950ca7 upstream. If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: c6c8fea29769 ("net: Add batman-adv meshing protocol") Signed-off-by: Taehee Yoo Signed-off-by: Simon Wunderlich [ bp: 4.4 backported: switch to old filename. ] Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- net/batman-adv/debugfs.c | 1 + 1 file changed, 1 insertion(+) --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c @@ -214,6 +214,7 @@ static const struct file_operations bata .read = batadv_log_read, .poll = batadv_log_poll, .llseek = no_llseek, + .owner = THIS_MODULE, }; static int batadv_debug_log_setup(struct batadv_priv *bat_priv) Patches currently in stable-queue which might be from sven@narfation.org are queue-4.4/batman-adv-consider-fragmentation-for-needed_headroom.patch queue-4.4/ath9k-fix-potential-interrupt-storm-on-queue-reset.patch queue-4.4/batman-adv-set-.owner-to-this_module.patch queue-4.4/batman-adv-mcast-fix-duplicate-mcast-packets-from-bla-backbone-to-mesh.patch queue-4.4/batman-adv-fix-multicast-tt-issues-with-bogus-roam-flags.patch queue-4.4/batman-adv-mcast-fix-duplicate-mcast-packets-in-bla-backbone-from-lan.patch queue-4.4/batman-adv-reserve-needed_-room-for-fragments.patch queue-4.4/net-batman-adv-fix-error-handling.patch queue-4.4/batman-adv-keep-fragments-equally-sized.patch queue-4.4/batman-adv-avoid-warn_on-timing-related-checks.patch queue-4.4/batman-adv-prevent-duplicated-softif_vlan-entry.patch queue-4.4/batman-adv-don-t-always-reallocate-the-fragmentation-skb-head.patch queue-4.4/batman-adv-mcast-fix-duplicate-mcast-packets-in-bla-backbone-from-mesh.patch