batman-adv: set .owner to THIS_MODULE
authorTaehee Yoo <ap420073@gmail.com>
Sun, 15 Nov 2020 10:30:04 +0000 (10:30 +0000)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 15 Nov 2020 10:43:56 +0000 (11:43 +0100)
commit14a2e551faea53d45bc11629a9dac88f88950ca7
tree1664b725277aee423e3ed2b9d4de9c7338626517
parentf8394f232b1eab649ce2df5c5f15b0e528c92091
batman-adv: set .owner to THIS_MODULE

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 <ap420073@gmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/log.c