aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/llc_pdu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/llc_pdu.h')
-rw-r--r--include/net/llc_pdu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/llc_pdu.h b/include/net/llc_pdu.h
index 4e620992c806..778f75a40b4d 100644
--- a/include/net/llc_pdu.h
+++ b/include/net/llc_pdu.h
@@ -235,7 +235,7 @@ static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type,
235 struct llc_pdu_un *pdu; 235 struct llc_pdu_un *pdu;
236 236
237 skb_push(skb, hlen); 237 skb_push(skb, hlen);
238 skb->nh.raw = skb->data; 238 skb_reset_network_header(skb);
239 pdu = llc_pdu_un_hdr(skb); 239 pdu = llc_pdu_un_hdr(skb);
240 pdu->dsap = dsap; 240 pdu->dsap = dsap;
241 pdu->ssap = ssap; 241 pdu->ssap = ssap;