kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Aug 2015 07:25:20 +0000 (07:25 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Aug 2015 07:25:20 +0000 (07:25 +0000)
commitddf8858ceabc9dcbac3c4cd637a383fa66f7ef9c
treef08f0d4fc5aaa6e049e909c70d74ec566806a3ac
parentea9963bb212d5bca446d081ed7c85946a1e20850
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
target/linux/generic/patches-3.18/645-bridge_multicast_to_unicast.patch
target/linux/generic/patches-4.1/645-bridge_multicast_to_unicast.patch