From 33b92cc7c885effea77c2b717c0fad53068c26d9 Mon Sep 17 00:00:00 2001 From: Jens Rosenboom Date: Thu, 10 Sep 2009 06:25:11 +0000 Subject: [PATCH] --- yaml --- r: 162910 b: refs/heads/master c: 3933fc952a5a5af4cf23fca94e20203251c9d825 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ipv6/route.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 95384c5c0540..c432903adcd9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b9f602533e2f5c32a09a3a75904e5373cb6e6377 +refs/heads/master: 3933fc952a5a5af4cf23fca94e20203251c9d825 diff --git a/trunk/net/ipv6/route.c b/trunk/net/ipv6/route.c index 9ccfef345560..77aecbe8ff6c 100644 --- a/trunk/net/ipv6/route.c +++ b/trunk/net/ipv6/route.c @@ -481,7 +481,7 @@ int rt6_route_rcv(struct net_device *dev, u8 *opt, int len, pref = rinfo->route_pref; if (pref == ICMPV6_ROUTER_PREF_INVALID) - pref = ICMPV6_ROUTER_PREF_MEDIUM; + return -EINVAL; lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ);