]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
esp4: fix error return code in esp_output()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 13 Apr 2013 15:49:03 +0000 (15:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2013 15:56:37 +0000 (08:56 -0700)
commitfe18256f3e2410e574cc48dbf033a706d000b0ff
tree4b4c10b64eeb4f7f7b0ce7330f86bb18b454990a
parent7b14772957275672b360e5ebd5604623561e0f30
esp4: fix error return code in esp_output()

[ Upstream commit 06848c10f720cbc20e3b784c0df24930b7304b93 ]

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/esp4.c