]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[PPP] pppoe: Fill in header directly in __pppoe_xmit
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Sep 2007 23:20:21 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Sep 2007 23:20:21 +0000 (16:20 -0700)
commit9355ec23397af32799038d0e8edbfa5b6f425c27
tree256b00fa1af6628896c0a1a18866384497e9c5bd
parentdb7bf6d97c6956b7eb0f22131cb5c37bd41f33c0
[PPP] pppoe: Fill in header directly in __pppoe_xmit

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>
drivers/net/pppoe.c