aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorYajun Deng <[email protected]>2021-07-15 12:12:57 +0000
committerDavid S. Miller <[email protected]>2021-07-16 17:46:35 +0000
commitcfdf0d9ae75b40013364ddb61a25926ccc9f83ea (patch)
treec9a402aa34bd927d16e878c8205adc275d534daa /net/sched/cls_api.c
parentgve: fix the wrong AdminQ buffer overflow check (diff)
downloadkernel-cfdf0d9ae75b40013364ddb61a25926ccc9f83ea.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions