netfilter: rpfilter: bypass ipv4 lbcast packets with zeronet source
authorLiping Zhang <zlpnobody@gmail.com>
Sat, 3 Dec 2016 13:25:08 +0000 (21:25 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Dec 2016 12:22:50 +0000 (13:22 +0100)
commit3b760dcb0fd304873dfde9ff072a49f893c6f5c4
treecd9f09deb15027114015982e25c3a0a52c3d70f2
parenta9fea2a3c3cf7a09b7f4302489f535477ead67d2
netfilter: rpfilter: bypass ipv4 lbcast packets with zeronet source

Otherwise, DHCP Discover packets(0.0.0.0->255.255.255.255) may be
dropped incorrectly.

Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_rpfilter.c
net/ipv4/netfilter/nft_fib_ipv4.c