[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100319051856.GA22079@gondor.apana.org.au>
Date: Fri, 19 Mar 2010 13:18:56 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: timo.teras@....fi, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: check rt_genid in dst_check
On Thu, Mar 18, 2010 at 10:16:49PM -0700, David Miller wrote:
> From: Herbert Xu <herbert@...dor.apana.org.au>
> Date: Thu, 18 Mar 2010 20:11:46 +0800
>
> > On Thu, Mar 18, 2010 at 01:48:22PM +0200, Timo Teras wrote:
> >> @@ -1726,7 +1726,9 @@ static void ip_rt_update_pmtu(struct dst_entry *dst, u32 mtu)
> >>
> >> static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie)
> >> {
> >> - return NULL;
> >> + if (dst && dst->dev && rt_is_expired((struct rtable *) dst))
^
While you're at it, please delete this space to preemptively
stop anyone from sending a checkpatch patch :)
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists