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:23:58 -08:00
2006-12-02 21:22:52 -08:00
2006-12-07 08:39:25 -08:00
2006-12-02 21:22:52 -08:00
2005-04-16 15:20:36 -07:00
2006-12-06 18:39:09 -08:00
2006-12-02 21:31:51 -08:00
2006-10-04 00:31:09 -07:00