]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
xfrm: fix __xfrm_route_forward()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 15 Mar 2011 22:26:43 +0000 (15:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Mar 2011 22:26:43 +0000 (15:26 -0700)
commit7313714775a6411402f63261c05fbb4ee3d5b64a
treeef2983b19f31ba0743911d69f82d0aa252f10913
parentc337ffb68e1e71bad069b14d2246fa1e0c31699c
xfrm: fix __xfrm_route_forward()

This function should return 0 in case of error, 1 if OK
commit 452edd598f60522 (xfrm: Return dst directly from xfrm_lookup())
got it wrong.

Reported-and-bisected-by: Michael Smith <msmith@cbnco.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c