]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: 6lowpan: earlier skb->dev switch
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:24 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:03 +0000 (13:20 +0200)
commitdf2d08ac750f027fd910cbf56d7e6446ef4d3df9
tree27a03ba9afe263fb9b2268b08f602e1f5e92b9fe
parent2ba4c3ec690bdf9635d1ba7a70f052d1a264dad9
ieee802154: 6lowpan: earlier skb->dev switch

We should change the skb->dev pointer earlier to the lowpan interface
Sometimes we call iphc_decompress which also use some netdev printout
functionality. This patch will change that the correct interface will be
displayed in this case, which should be the lowpan interface.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/rx.c