mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 11:54:14 -04:00
Revert "net: rtnetlink: fix module reference count leak issue in rtnetlink_rcv_msg"
This reverts commit 283ee8ce3b which is
commit 5b22f62724a0a09e00d301abf5b57b0c12be8a16 upstream.
It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.
Bug: 161946584
Change-Id: Id94f628d7244f7360069b2f03e192007b5eb1c9c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
2a0670011e
commit
49a5ba893c
1 changed files with 0 additions and 1 deletions
|
|
@ -5279,7 +5279,6 @@ static int rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
|
|||
if (kind == RTNL_KIND_DEL && (nlh->nlmsg_flags & NLM_F_BULK) &&
|
||||
!(flags & RTNL_FLAG_BULK_DEL_SUPPORTED)) {
|
||||
NL_SET_ERR_MSG(extack, "Bulk delete is not supported");
|
||||
module_put(owner);
|
||||
goto err_unlock;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue