[LLC]: Use skb_reset_mac_header in llc_mac_hdr_init
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 10 Mar 2007 15:17:29 +0000 (12:17 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:35 +0000 (22:24 -0700)
commitf64955eb117ad62480b858fd69a11e6f9e74f60b
treec61c51a7d8241b96f7973424c66bac87896b6158
parent0a1b0ad9ae27f918fd935c6da101083e11446f09
[LLC]: Use skb_reset_mac_header in llc_mac_hdr_init

skb_push updates and returns skb->data, so we can just call
skb_reset_mac_header after the call to skb_push.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_output.c