commit | 01757f536ac825e3614d583fee9acb48c64ed084 | [log] [tgz] |
---|---|---|
author | Yajun Deng <yajun.deng@linux.dev> | Tue Jul 13 10:48:24 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 13 09:28:29 2021 -0700 |
tree | 0b31ad3ca2f4175b3c113a74c645a9cf28881548 | |
parent | 71ce9d92fc7089f287c3e95a981bdec7545a8588 [diff] |
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>