[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100319.210825.59665638.davem@davemloft.net>
Date: Fri, 19 Mar 2010 21:08:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: timo.teras@....fi, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: check rt_genid in dst_check
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri, 19 Mar 2010 17:00:22 +0800
> On Fri, Mar 19, 2010 at 04:56:00PM +0800, Herbert Xu wrote:
>>
>> I'll send a patch to remove the same check on the IPv6 path.
>
> ipv6: Remove redundant dst NULL check in ip6_dst_check
>
> As the only path leading to ip6_dst_check makes an indirect call
> through dst->ops, dst cannot be NULL in ip6_dst_check.
>
> This patch removes this check in case it misleads people who
> come across this code.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied.
--
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