Skip to contentSkip to conversation

pull request for net: batman-adv 2020-11-24

PATCH In review Simon Wunderlich 2 participants 3 messages Nov 24, 2020 – Nov 25, 2020

Subsystems (3)
lore
Share & tools
lore

Simon Wunderlich

author maintainer
#0 lore raw

cover pull request for net: batman-adv 2020-11-24

Hi David, hi Jakub,

here is a bugfix for batman-adv which we would like to have integrated into net.

Please pull or let me know of any problem!

Thank you,
Simon

The following changes since commit f8394f232b1eab649ce2df5c5f15b0e528c92091:

Linux 5.10-rc3 (2020-11-08 16:10:16 -0800)

are available in the Git repository at:

git://git.open-mesh.org/linux-merge.git tags/batadv-net-pullrequest-20201124

for you to fetch changes up to 14a2e551faea53d45bc11629a9dac88f88950ca7:

batman-adv: set .owner to THIS_MODULE (2020-11-15 11:43:56 +0100)

----------------------------------------------------------------
Here is a batman-adv bugfix:

- set module owner to THIS_MODULE, by Taehee Yoo

----------------------------------------------------------------
Taehee Yoo (1):
batman-adv: set .owner to THIS_MODULE

 net/batman-adv/log.c | 1 +
 1 file changed, 1 insertion(+)
author maintainer
#1 lore raw

PATCH 1/1 batman-adv: set .owner to THIS_MODULE

From: Taehee Yoo <[email protected]>

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")
---
 net/batman-adv/log.c | 1 +
 1 file changed, 1 insertion(+)
net/batman-adv/log.c +1 -0
index a67b2b091447..c0ca5fbe5b08 100644
@@ -180,6 +180,7 @@ static const struct file_operations batadv_log_fops = {
 	.read           = batadv_log_read,
 	.poll           = batadv_log_poll,
 	.llseek         = no_llseek,
+	.owner          = THIS_MODULE,
 };
 
 /**
Signature · 1 line
2.20.1
maintainer
#2 lore raw
In reply to Simon Wunderlich
Quoted 3 lines · On Tue, 24 Nov 2020 14:44:16 +0100 Simon Wunderlich wrote:

Hi David, hi Jakub,

here is a bugfix for batman-adv which we would like to have integrated into net.

Pulled, thanks!