6lowpan: remove skb->dev assignment
This patch removes the assignment of skb->dev. We don't need it here because we use the netdev_alloc_skb_ip_align function which already sets the skb->dev. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Werner Almesberger <werner@almesberger.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b614442f34
commit
b236b954de
|
@ -785,7 +785,6 @@ lowpan_alloc_new_frame(struct sk_buff *skb, u16 len, u16 tag)
|
|||
goto skb_err;
|
||||
|
||||
frame->skb->priority = skb->priority;
|
||||
frame->skb->dev = skb->dev;
|
||||
|
||||
/* reserve headroom for uncompressed ipv6 header */
|
||||
skb_reserve(frame->skb, sizeof(struct ipv6hdr));
|
||||
|
|
Loading…
Reference in New Issue