[OpenWrt-Devel] [PATCHv3 openwrt 2/2] kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

Felix Fietkau nbd at openwrt.org
Tue Aug 25 03:26:14 EDT 2015


On 2015-08-23 17:19, Linus Lüssing wrote:
> 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 at c0d3.blue>
Applied both patches with modifications:
- Ported to Linux 4.1
- Removed unnecessary de-constification of src

Thanks,

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list