All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Guo <ggang@tilera.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: <netfilter-devel@vger.kernel.org>
Subject: Re: unaligned ip header due to ip_route_me_harder()->pskb_expand_head()
Date: Thu, 10 Nov 2011 15:33:16 +0800	[thread overview]
Message-ID: <4EBB7E3C.9030402@tilera.com> (raw)
In-Reply-To: <1320832102.2315.10.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>


> Le mercredi 09 novembre 2011 à 17:33 +0800, Paul Guo a écrit :
> 
>>> or 
>>>
>>> pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), 0, GFP_ATOMIC))
>>
>> Thanks. This looks better.
> 
> Could you submit an official patch ?
> 
> Thanks !

OK. I tried to clone a netfilter branch firstly, but failed. Cloning the network
branch is OK. It looks there is something wrong with the netfilter git branch,
or am I doing something wrong? Thanks.

# git clone git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-2.6.git
Initialized empty Git repository in /u/ggang/recent/netfilter-git/nf-2.6/.git/
fatal: The remote end hung up unexpectedly

# git clone git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
Initialized empty Git repository in /u/ggang/recent/net-git/net/.git/
remote: Counting objects: 2233147, done.
remote: Compressing objects: 100% (354952/354952), done.
Receiving objects:   4% (110532/2233147), 40.82 MiB | 343 KiB/s


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-11-10  7:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 15:02 unaligned ip header due to ip_route_me_harder()->pskb_expand_head() Paul Guo
2011-11-08 16:58 ` Eric Dumazet
2011-11-09  9:33   ` Paul Guo
2011-11-09  9:48     ` Eric Dumazet
2011-11-10  7:33       ` Paul Guo [this message]
2011-11-13 17:02         ` Pablo Neira Ayuso
2011-11-14  8:33           ` [PATCH] possible unaligned packet header caused by ip_route_me_harder()->pskb_expand_head() Paul Guo
2011-11-14  9:46             ` Eric Dumazet
2011-11-14 11:00               ` Paul Guo
2011-11-21 17:47                 ` Pablo Neira Ayuso
2011-11-16 16:54               ` Pablo Neira Ayuso
2011-11-21 10:30                 ` Eric Dumazet

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=4EBB7E3C.9030402@tilera.com \
    --to=ggang@tilera.com \
    --cc=eric.dumazet@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.