diff options
Diffstat (limited to 'net/ax25/ax25_in.c')
-rw-r--r-- | net/ax25/ax25_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c index 724ad5ce75d4..31c59387a6fc 100644 --- a/net/ax25/ax25_in.c +++ b/net/ax25/ax25_in.c | |||
@@ -233,7 +233,7 @@ static int ax25_rcv(struct sk_buff *skb, struct net_device *dev, | |||
233 | 233 | ||
234 | /* UI frame - bypass LAPB processing */ | 234 | /* UI frame - bypass LAPB processing */ |
235 | if ((*skb->data & ~0x10) == AX25_UI && dp.lastrepeat + 1 == dp.ndigi) { | 235 | if ((*skb->data & ~0x10) == AX25_UI && dp.lastrepeat + 1 == dp.ndigi) { |
236 | skb->h.raw = skb->data + 2; /* skip control and pid */ | 236 | skb_set_transport_header(skb, 2); /* skip control and pid */ |
237 | 237 | ||
238 | ax25_send_to_raw(&dest, skb, skb->data[1]); | 238 | ax25_send_to_raw(&dest, skb, skb->data[1]); |
239 | 239 | ||