David S. Miller 3b004569d8 ipv4: Avoid use of signed integers in fib_trie code.
GCC emits all kinds of crazy zero extensions when we go from signed
int, to unsigned short, etc. etc.

This transformation has to be legal because:

1) In tkey_extract_bits() in mask_pfx(), the values are used to
   perform shifts, on which negative values are undefined by C.

2) In fib_table_lookup() we perform comparisons with unsigned
   values, constants, and additions.  None of which should
   encounter negative values.

Signed-off-by: David S. Miller <davem@davemloft.net>
2011-02-17 15:49:26 -08:00
..
2011-02-08 14:00:40 -08:00
2011-01-24 13:16:16 -08:00
2010-09-23 14:33:39 -07:00
2010-10-25 13:09:45 -07:00
2010-11-18 11:02:23 -08:00
2010-12-12 22:08:17 -08:00
2011-01-14 13:36:42 +01:00
2010-02-22 16:20:22 -08:00
2011-02-01 15:35:25 -08:00
2011-02-01 15:35:25 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2009-05-25 22:44:59 -07:00
2010-09-23 14:33:39 -07:00
2011-01-24 15:32:47 -08:00
2010-10-27 11:37:32 -07:00
2011-01-24 15:32:47 -08:00
2010-07-12 12:57:54 -07:00