Searched hist:"523 f610e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6table_filter.c | 523f610e Thu Mar 22 07:27:06 CDT 2012 Rusty Russell <rusty@rustcorp.com.au> netfilter: remove forward module param confusion.
It used to be an int, and it got changed to a bool parameter at least 7 years ago. It happens that NF_ACCEPT and NF_DROP are 0 and 1, so this works, but it's unclear, and the check that it's in range is not required.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net> 523f610e Thu Mar 22 07:27:06 CDT 2012 Rusty Russell <rusty@rustcorp.com.au> netfilter: remove forward module param confusion. It used to be an int, and it got changed to a bool parameter at least 7 years ago. It happens that NF_ACCEPT and NF_DROP are 0 and 1, so this works, but it's unclear, and the check that it's in range is not required. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | iptable_filter.c | 523f610e Thu Mar 22 07:27:06 CDT 2012 Rusty Russell <rusty@rustcorp.com.au> netfilter: remove forward module param confusion.
It used to be an int, and it got changed to a bool parameter at least 7 years ago. It happens that NF_ACCEPT and NF_DROP are 0 and 1, so this works, but it's unclear, and the check that it's in range is not required.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net> 523f610e Thu Mar 22 07:27:06 CDT 2012 Rusty Russell <rusty@rustcorp.com.au> netfilter: remove forward module param confusion. It used to be an int, and it got changed to a bool parameter at least 7 years ago. It happens that NF_ACCEPT and NF_DROP are 0 and 1, so this works, but it's unclear, and the check that it's in range is not required. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
|