Dan Carpenter 4f25af2782 filter: use unsigned int to silence static checker warning
This is just a cleanup.

My testing version of Smatch warns about this:
net/core/filter.c +380 check_load_and_stores(6)
	warn: check 'flen' for negative values

flen comes from the user.  We try to clamp the values here between 1
and BPF_MAXINSNS but the clamp doesn't work because it could be
negative.  This is a bug, but it's not exploitable.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-19 19:35:51 -04:00
..
2011-10-19 03:10:46 -04:00
2011-10-19 17:00:35 -04:00
2011-10-17 19:18:42 -04:00
2010-07-12 12:57:55 -07:00
2010-11-28 18:24:14 -08:00
2010-07-12 12:57:55 -07:00
2011-10-19 03:10:46 -04:00
2011-10-13 16:05:07 -04:00
2011-10-19 03:10:46 -04:00