Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cf655cd authored by Krzysztof Halasa's avatar Krzysztof Halasa Committed by David S. Miller
Browse files

[WAN] hdlc_cisco: Fix regression introduced by skb->tail changes.



The following commit breaks cisco mode with my WAN drivers:
author	David S. Miller <davem@davemloft.net>
	Tue, 28 Jun 2005 22:25:31 +0000 (15:25 -0700)
commit	689be439

"[NET]: Remove gratuitous use of skb->tail in network drivers."

The following patch fixes it - please apply (cisco_hard_header does
skb_push(4 bytes)).

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8922bc93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ static void cisco_keepalive_send(struct net_device *dev, u32 type,
	}
	skb_reserve(skb, 4);
	cisco_hard_header(skb, dev, CISCO_KEEPALIVE, NULL, NULL, 0);
	data = (cisco_packet*)skb->data;
	data = (cisco_packet*)(skb->data + 4);

	data->type = htonl(type);
	data->par1 = htonl(par1);