Commit 84e4c355 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Fix warning in fc.c

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 63938f3c
......@@ -47,7 +47,7 @@ int fc_header(struct sk_buff *skb, struct net_device *dev, unsigned short type,
*/
if (type == ETH_P_IP || type == ETH_P_ARP)
{
struct fcllc *fcllc=(struct fcllc *)(fch+1);
struct fcllc *fcllc;
hdr_len = sizeof(struct fch_hdr) + sizeof(struct fcllc);
fch = (struct fch_hdr *)skb_push(skb, hdr_len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment