diff options
author | Patrick McHardy <kaber@trash.net> | 2013-06-11 02:52:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-11 02:52:47 -0700 |
commit | 7cdbac71f911494aa7d0343be23c092ca84a5ed4 (patch) | |
tree | 17a4958c72bde3bb69eb9ceb52910968ddb195f6 /drivers/net/tun.c | |
parent | 1abd165ed757db1afdefaac0a4bc8a70f97d258c (diff) | |
download | talos-obmc-linux-7cdbac71f911494aa7d0343be23c092ca84a5ed4.tar.gz talos-obmc-linux-7cdbac71f911494aa7d0343be23c092ca84a5ed4.zip |
netlink: fix error propagation in netlink_mmap()
Return the error if something went wrong instead of unconditionally
returning 0.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions