diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2021-07-15 20:12:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-16 10:46:35 -0700 |
commit | cfdf0d9ae75b40013364ddb61a25926ccc9f83ea (patch) | |
tree | c9a402aa34bd927d16e878c8205adc275d534daa /mm | |
parent | 63a9192b8fa1ea55efeba1f18fad52bb24d9bf12 (diff) | |
download | linux-stable-cfdf0d9ae75b40013364ddb61a25926ccc9f83ea.tar.gz linux-stable-cfdf0d9ae75b40013364ddb61a25926ccc9f83ea.tar.bz2 linux-stable-cfdf0d9ae75b40013364ddb61a25926ccc9f83ea.zip |
rtnetlink: use nlmsg_notify() in rtnetlink_send()
The netlink_{broadcast, unicast} don't deal with 'if (err > 0' statement
but nlmsg_{multicast, unicast} do. The nlmsg_notify() contains them.
so use nlmsg_notify() instead. so that the caller wouldn't deal with
'if (err > 0' statement.
v2: use nlmsg_notify() will do well.
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions