diff options
author | David Miller <davem@davemloft.net> | 2006-09-27 16:25:17 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-10-13 13:23:27 -0700 |
commit | f2fb7f11c1dc0cf66f290671f4a7b427e63da64c (patch) | |
tree | bbb0d3bbec8e951f53fe4e1a52b73c80e196ba0f /net/sysctl_net.c | |
parent | 521a3b74333140bd33357ea1afe1b514f2c2e771 (diff) |
PKT_SCHED: cls_basic: Use unsigned int when generating handle
gcc-4.1 and later take advantage of the fact that in the
C language certain types of overflow/underflow are undefined,
and this is completely legitimate.
Prevents filters from being added if the first generated
handle already exists.
Signed-off-by: Kim Nordlund <kim.nordlund@nokia.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions