ip: use rtnl_send_check() on flush commands, closes 6962
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 22 May 2019 11:54:46 +0000 (13:54 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 22 May 2019 11:54:46 +0000 (13:54 +0200)
commit028c5aa18b5273c029f0278232d922ee1a164de6
treef57dbcb9445ce4878f74789872ed123491f705c2
parent84fc645605827d53aa3e749dfff309978b1bc73d
ip: use rtnl_send_check() on flush commands, closes 6962

function                                             old     new   delta
rtnl_send_check                                        -     160    +160
xrtnl_wilddump_request                                64      66      +2
ipneigh_list_or_flush                                714     706      -8
rtnl_send                                             69       -     -69
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/1 up/down: 162/-77)            Total: 85 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/ipaddress.c
networking/libiproute/ipneigh.c
networking/libiproute/iproute.c
networking/libiproute/libnetlink.c
networking/libiproute/libnetlink.h