[PPPOE]: Introduce pppoe_hdr()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 10 Mar 2007 18:56:08 +0000 (15:56 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:43 +0000 (22:24 -0700)
commit797659fb4a4a511649cd71028141c32ad1698a12
tree370361e706de99e3c176b343e9f2db5a1a9df2a3
parent37e6636669b0b996681586facee8034f7f674f6a
[PPPOE]: Introduce pppoe_hdr()

For consistency with all the other skb->nh.raw accessors.

Also do some really obvious simplifications in pppoe_recvmsg, well the
kfree_skb one is not so obvious, but free() and kfree() have the same behaviour
(hint :-) ).

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c
include/linux/if_pppox.h