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-17 21:59:18 -08:00
2007-01-04 12:31:14 -08:00
2007-01-09 00:29:51 -08:00
2006-12-02 21:23:58 -08:00
2006-09-22 15:20:26 -07:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:21:12 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:22:12 -08:00
2006-12-02 21:23:34 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:21:10 -08:00
2006-12-07 08:39:25 -08:00
2006-12-02 21:21:21 -08:00
2006-12-02 21:22:08 -08:00
2006-12-08 17:19:20 -08:00
2006-12-02 21:30:27 -08:00
2006-12-02 21:21:12 -08:00
2006-12-13 16:48:25 -08:00
2006-09-22 15:20:26 -07:00
2006-12-02 21:21:39 -08:00
2006-12-02 21:22:46 -08:00
2006-12-02 21:23:31 -08:00
2006-12-02 21:22:52 -08:00
2006-12-10 09:55:41 -08:00
2006-12-02 21:23:38 -08:00
2006-12-02 21:22:46 -08:00
2005-04-16 15:20:36 -07:00
2006-12-06 18:39:09 -08:00
2006-12-02 21:22:52 -08:00
2006-12-13 16:48:31 -08:00
2006-12-02 21:26:15 -08:00
2006-06-30 19:25:36 +02:00
2006-12-02 21:31:52 -08:00
2006-12-02 21:21:12 -08:00
2006-12-02 21:22:46 -08:00
2006-12-02 21:30:45 -08:00
2006-12-02 21:31:51 -08:00
2006-09-28 18:02:40 -07:00
2006-10-04 00:31:09 -07:00
2006-09-22 15:18:48 -07:00
2006-09-22 15:18:48 -07:00
2006-09-22 15:18:48 -07:00
2006-09-22 15:18:48 -07:00
2006-12-02 21:22:46 -08:00
2006-09-28 18:02:33 -07:00
2006-12-07 08:39:25 -08:00