[OpenWrt-Devel] Regarding bridge multicast-to-unicast patch
Linus Lüssing
linus.luessing at c0d3.blue
Fri Oct 24 13:34:46 EDT 2014
PS: Also found another, small potential bug in your unicasting
patch: The 'src = eth_hdr(skb)->h_source's you added can break because
after this assignment but before the usage of 'src' there are calls to
"pskb_may_pull(skb)". pskb_may_pull(skb) can reallocate the skb->data,
potentially leading to the dereference of a dangling pointer for 'src'.
_______________________________________________
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