Paul Moore cbbd7d4f36 [INET]: Fix incorrect "inet_sock->is_icsk" assignment.
The inet_create() and inet6_create() functions incorrectly set the
inet_sock->is_icsk field.  Both functions assume that the is_icsk field is
large enough to hold at least a INET_PROTOSW_ICSK value when it is actually
only a single bit.  This patch corrects the assignment by doing a boolean
comparison whose result will safely fit into a single bit field.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-01-09 00:29:51 -08:00
..
2006-12-08 08:28:44 -08:00
2007-01-03 18:38:09 -08:00
2006-11-05 14:11:25 -08:00
2006-12-06 20:14:22 -08:00
2006-12-02 21:21:23 -08:00
2007-01-03 18:38:15 -08:00
2006-12-07 00:11:33 -08:00
2006-12-22 11:12:05 -08:00
2006-12-08 08:28:50 -08:00
2006-12-08 08:28:48 -08:00