https://github.com/torvalds/linux
Revision 9355ec23397af32799038d0e8edbfa5b6f425c27 authored by Herbert Xu on 16 September 2007, 23:20:21 UTC, committed by David S. Miller on 16 September 2007, 23:20:21 UTC
This patch removes the hdr variable (which is copied into the skb)
and instead sets the header directly in the skb.

It also uses __skb_push instead of skb_push since we've just checked
using skb_cow for enough head room.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent db7bf6d
History
Tip revision: 9355ec23397af32799038d0e8edbfa5b6f425c27 authored by Herbert Xu on 16 September 2007, 23:20:21 UTC
[PPP] pppoe: Fill in header directly in __pppoe_xmit
Tip revision: 9355ec2
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 607 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 91.2 KB
Makefile -rw-r--r-- 50.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top