appletalk: fix erroneous return value
authorAnton Protopopov <a.s.protopopov@gmail.com>
Wed, 17 Feb 2016 15:53:59 +0000 (10:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 19:59:34 +0000 (14:59 -0500)
commit48bb230e8723d7dd87928f0c0c3f6cb1fd5bc9be
tree563ac6884259bb8b716d8d12acb00763b71b4f30
parenta09f4af177d2a5b7dc424aba6ba808f4a674ce81
appletalk: fix erroneous return value

The atalk_sendmsg() function might return wrong value ENETUNREACH
instead of -ENETUNREACH.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c