netfilter: remove forward module param confusion.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Mar 2012 12:27:06 +0000 (12:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2012 02:36:17 +0000 (22:36 -0400)
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>

No differences found