[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110609.000914.359816474597759076.davem@davemloft.net>
Date: Thu, 09 Jun 2011 00:09:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] tun: reserves space for network in skb
From: Stephen Hemminger <shemminger@...tta.com>
Date: Wed, 08 Jun 2011 17:33:07 -0700
> The tun driver allocates skb's to hold data from user and then passes
> the data into the network stack as received data. Most network devices
> allocate the receive skb with routines like dev_alloc_skb() that reserves
> additional space for use by network protocol stack but tun does not.
>
> Because of the lack of padding, when the packet is passed through bridge
> netfilter a new skb has to be allocated.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Netconf must be coming up soon, Stephen Hemminger is submitting patches
again :-)
Both applied, thanks!
--
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