]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netlink: Improve returned error codes
authorThomas Graf <tgraf@suug.ch>
Tue, 3 Jun 2008 23:36:54 +0000 (16:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2008 23:36:54 +0000 (16:36 -0700)
commitbc3ed28caaef55e7e3a9316464256353c5f9b1df
tree3aed4521aa2d74a36ee2b192c2e229fd23fbe732
parent1f9d11c7c99da706e33646c3a9080dd5a8ef9a0b
netlink: Improve returned error codes

Make nlmsg_trim(), nlmsg_cancel(), genlmsg_cancel(), and
nla_nest_cancel() void functions.

Return -EMSGSIZE instead of -1 if the provided message buffer is not
big enough.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
include/net/netlink.h
net/core/neighbour.c
net/core/rtnetlink.c
net/netlink/attr.c
net/netlink/genetlink.c
net/sched/sch_dsmark.c
net/sched/sch_gred.c
net/sched/sch_hfsc.c
net/sched/sch_red.c
net/wireless/nl80211.c