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-02 21:21:17 -08:00
2006-12-02 21:21:17 -08:00
2006-12-07 08:39:25 -08:00
2006-09-28 18:02:23 -07:00
2006-12-07 08:39:25 -08:00
2006-09-28 18:02:29 -07:00
2006-12-07 08:39:25 -08:00
2006-12-08 17:19:20 -08:00
2006-10-04 00:31:09 -07:00
2006-12-02 21:21:17 -08:00
2006-12-07 08:39:25 -08:00
2006-09-22 15:18:04 -07:00
2006-10-25 23:04:12 -07:00
2006-12-07 00:11:33 -08:00
2006-09-28 18:03:07 -07:00
2006-12-02 21:31:51 -08:00
2006-10-04 00:31:09 -07:00