]> git.karo-electronics.de Git - linux-beck.git/commit
xfrm_user: Propagate netlink error codes properly.
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2012 04:57:03 +0000 (21:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2012 04:57:03 +0000 (21:57 -0700)
commit1d1e34ddd48d27def2f324c1e3be16d460b16436
tree79937379cbc0498cb3a611df4d14362dbe45f6cd
parent160c85f0e050d92c0e42321aab2ffc343594e1c0
xfrm_user: Propagate netlink error codes properly.

Instead of using a fixed value of "-1" or "-EMSGSIZE", propagate what
the nla_*() interfaces actually return.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/xfrm/xfrm_user.c