]> git.ipfire.org Git - thirdparty/iproute2.git/commit
check return value of rtnl_send and related functions
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 20 Dec 2013 16:15:02 +0000 (08:15 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 20 Dec 2013 16:24:44 +0000 (08:24 -0800)
commitd2468da0a317c87ded0a9a0ae6d7d8bc7ab2e4d2
treeb187290f56c0d9fd45cd4df23be3dee73e2cdd20
parent4d98ab00de90bac916f526c83c68012d7159f712
check return value of rtnl_send and related functions

Use warn_unused_result to enforce checking return value of rtnl_send,
and fix where the errors are.

Suggested by initial patch from Petr Písař <ppisar@redhat.com>
include/libnetlink.h
ip/iplink.c
ip/ipnetconf.c
misc/arpd.c
misc/ss.c