[LLC]: Use skb_reset_mac_header in llc_alloc_frame
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 10 Mar 2007 15:14:56 +0000 (12:14 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:34 +0000 (22:24 -0700)
commit0a1b0ad9ae27f918fd935c6da101083e11446f09
tree87050d750fb3c0a467558db8168dae422983f6fa
parent459a98ed881802dee55897441bc7f77af614368e
[LLC]: Use skb_reset_mac_header in llc_alloc_frame

skb->head is equal to skb->data after alloc_skb, so reset the mac header while
this is true, i.e. before skb_reserve.

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