]> err.no Git - linux-2.6/commit
[IPV6]: Make sure error handling is done when calling ip6_route_output().
authorVille Nuorvala <vnuorval@tcs.hut.fi>
Tue, 17 Oct 2006 05:10:05 +0000 (22:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 19 Oct 2006 02:55:27 +0000 (19:55 -0700)
commit4251320fa2ef93207fbefeb2eda2d265b84fc116
tree7d322c9d541f24df4fedc38e964aa906226b52ad
parent23c435f7ff884caded4a1391ba2b308d465423c0
[IPV6]: Make sure error handling is done when calling ip6_route_output().

As ip6_route_output() never returns NULL, error checking must be done by
looking at dst->error in stead of comparing dst against NULL.

Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_policy.c
net/sctp/ipv6.c