]> git.karo-electronics.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 16:41:07 +0000 (09:41 -0700)
commitd768ca1b9fae5c2ee68ad39e6b1b5e9fc23ca9bf
treebd2262b266abdb91f1ac0ba7c1d171b0e82a6c2d
parentca6ad5d7758a96ef3cea419efe39b3281a5017b5
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