From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: timo.teras@iki.fi, netdev@vger.kernel.org
Subject: Re: [PATCH] ipv4: check rt_genid in dst_check
Date: Fri, 19 Mar 2010 21:08:25 -0700 (PDT) [thread overview]
Message-ID: <20100319.210825.59665638.davem@davemloft.net> (raw)
In-Reply-To: <20100319090022.GA23751@gondor.apana.org.au>
From: Herbert Xu <herbert@gondor.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@gondor.apana.org.au>
Applied.
next prev parent reply other threads:[~2010-03-20 4:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 5:54 [PATCH] ipv4: check rt_genid in dst_check Timo Teras
2010-03-19 8:56 ` Herbert Xu
2010-03-19 9:00 ` Herbert Xu
2010-03-20 4:08 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-18 11:48 Timo Teras
2010-03-18 12:11 ` Herbert Xu
2010-03-19 5:16 ` David Miller
2010-03-19 5:18 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100319.210825.59665638.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=netdev@vger.kernel.org \
--cc=timo.teras@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).