genetlink: add and use genl_set_err()
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Nov 2013 14:19:37 +0000 (15:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Nov 2013 21:39:06 +0000 (16:39 -0500)
commit62b68e99faa802352e9cb2ae91adecd8dfddf1b8
treea76d8342a57b8451bef657919201c76a5333f1f1
parentc2ebb908469d507ff400dad94efc755e6c799672
genetlink: add and use genl_set_err()

Add a static inline to generic netlink to wrap netlink_set_err()
to make it easier to use here - use it in openvswitch (the only
generic netlink user of netlink_set_err()).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
net/openvswitch/datapath.c
net/openvswitch/dp_notify.c