Home
last modified time | relevance | path

Searched hist:a504b86e718a425ea4a34e2f95b5cf0545ddfd8d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtun.cdiff a504b86e718a425ea4a34e2f95b5cf0545ddfd8d Wed Jun 08 09:33:07 CDT 2011 stephen hemminger <shemminger@vyatta.com> tun: reserves space for network in skb

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@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>