Files
linux-stable-mirror/net/netlink
Yajun Deng b0dd049bd6 net: Use nlmsg_unicast() instead of netlink_unicast()
[ Upstream commit 01757f536a ]

It has 'if (err >0 )' statement in nlmsg_unicast(), so use nlmsg_unicast()
instead of netlink_unicast(), this looks more concise.

v2: remove the change in netfilter.

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: f1fc201148 ("sctp: Hold sock lock while iterating over address list")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-07 06:08:16 +09:00
..