]> git.itanic.dy.fi Git - linux-stable/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:46:19 +0000 (09:46 -0700)
commit0f6cfc10bdd99e7772fe114cbf3a9d2c3b517076
tree1f66c538fe94b71abe154713c5183103802ada32
parentbb0fc43840dfbeb4f91d5fdd217449ad72b5d70d
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