summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-03-22 12:27:06 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-22 22:36:17 -0400
commit523f610e1be2a4afca605962e137064378883c5f (patch)
tree82923297355fccb70a03c5d2108bc5a6030212a2 /drivers/net
parent5d5440a835710d09f0ef18da5000541ec98b537a (diff)
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions