aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorTimo Teräs <[email protected]>2013-05-22 01:40:47 +0000
committerDavid S. Miller <[email protected]>2013-05-23 01:20:07 -0700
commit497574c72c9922cf20c12aed15313c389f722fa0 (patch)
tree1ded621483211872633af219157427bc0cf26e43 /lib/mpi/mpi-bit.c
parente4166625edfd2d808ddda00c7e7e901f4f3b8cc0 (diff)
xfrm: properly handle invalid states as an error
The error exit path needs err explicitly set. Otherwise it returns success and the only caller, xfrm_output_resume(), would oops in skb_dst(skb)->ops derefence as skb_dst(skb) is NULL. Bug introduced in commit bb65a9cb (xfrm: removes a superfluous check and add a statistic). Signed-off-by: Timo Teräs <[email protected]> Cc: Li RongQing <[email protected]> Cc: Steffen Klassert <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions