net: Use nlmsg_unicast() instead of netlink_unicast()
authorYajun Deng <yajun.deng@linux.dev>
Tue, 13 Jul 2021 02:48:24 +0000 (10:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2021 16:28:29 +0000 (09:28 -0700)
commit01757f536ac825e3614d583fee9acb48c64ed084
tree0b31ad3ca2f4175b3c113a74c645a9cf28881548
parent71ce9d92fc7089f287c3e95a981bdec7545a8588
net: Use nlmsg_unicast() instead of netlink_unicast()

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>
net/ipv4/fib_frontend.c
net/ipv4/inet_diag.c
net/ipv4/raw_diag.c
net/ipv4/udp_diag.c
net/mptcp/mptcp_diag.c
net/netlink/af_netlink.c
net/sctp/diag.c
net/unix/diag.c