kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()
A call to pskb_may_pull() might reallocate skb->data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by:Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46721
Showing
- target/linux/generic/patches-3.18/645-bridge_multicast_to_unicast.patch 26 additions, 19 deletions...eneric/patches-3.18/645-bridge_multicast_to_unicast.patch
- target/linux/generic/patches-4.1/645-bridge_multicast_to_unicast.patch 30 additions, 18 deletions...generic/patches-4.1/645-bridge_multicast_to_unicast.patch
Loading
Please register or sign in to comment