]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Set skb priority in fragments
authorAndrew Lunn <andrew@lunn.ch>
Mon, 9 May 2016 18:03:35 +0000 (20:03 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 30 Jun 2016 08:29:43 +0000 (10:29 +0200)
commitf4a7c8d8c7d6cf8a9c4c45cc3b56396dcdf46874
tree363a19b5a23ce10ca160a40f3d282f1e0885215c
parent8161bfd369d7d0824d9b4ef2a9bb357da506c6d9
batman-adv: Set skb priority in fragments

BATMAN will set the skb->priority based on the IP precedence or 802.1q
tag. However, if it needs to fragment the frame, it currently leaves
the fragment skb with the default priority and actually overwrites the
priority in the unfragmented frame. Fix this.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/fragmentation.c