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)
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


No differences found