Re: tcpdump confused with NAT-T+IPSec Packets

From: Herbert Xu (herbert_at_gondor.apana.org.au)
Date: 08/22/05

  • Next message: Adrian Bunk: "[2.6 patch] kill smp_tune_scheduling()"
    To: gopal@rgopal.com (Gopalakrishnan Raman)
    Date:	Mon, 22 Aug 2005 13:22:35 +1000
    
    

    Gopalakrishnan Raman <gopal@rgopal.com> wrote:
    > The problem is that packet_rcv() calls skb_clone() which is the
    > right thing to do in all cases except when the data portion of the
    > incoming skb is being modified in place. I replaced it with a pskb_copy()
    > in the case when the packet is likely to be NAT-T or ESP. The patch
    > for this follows the end of this mail and seems to work quite well.

    This bug has already been fixed in 2.6.12.

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

  • Next message: Adrian Bunk: "[2.6 patch] kill smp_tune_scheduling()"