Re: [PATCH] fix ipv6 fragment ID selection at slow path

From: Herbert Xu
Date: Sun Oct 02 2005 - 19:19:02 EST


Yan Zheng <yzcorp@xxxxxxxxx> wrote:
>
> --- linux-2.6.13.2/net/ipv6/ip6_output.c 2005-09-17 09:02:12.000000000 +0800
> +++ linux/net/ipv6/ip6_output.c 2005-10-02 22:12:54.000000000 +0800
> @@ -701,7 +701,7 @@
> */
> fh->nexthdr = nexthdr;
> fh->reserved = 0;
> - if (frag_id) {
> + if (!frag_id) {
> ipv6_select_ident(skb, fh);
> frag_id = fh->identification;
> } else

This patch makes sense to me.

Please add a Signed-off-by line and send the patch to
davem@xxxxxxxxxxxxx and yoshfuji@xxxxxxxxxxxxxxx

Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/