Alexey Kuznetsov
1a55d57b10
[TCP]: Do not use inet->id of global tcp_socket when sending RST.
...
The problem is in ip_push_pending_frames(), which uses:
if (!df) {
__ip_select_ident(iph, &rt->u.dst, 0);
} else {
iph->id = htons(inet->id++);
}
instead of ip_select_ident().
Right now I think the code is a nonsense. Most likely, I copied it from
old ip_build_xmit(), where it was really special, we had to decide
whether to generate unique ID when generating the first (well, the last)
fragment.
In ip_push_pending_frames() it does not make sense, it should use plain
ip_select_ident() instead.
Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-03-22 14:27:59 -08:00
..
2006-03-20 22:35:41 -08:00
2006-03-22 13:57:25 -08:00
2006-03-20 22:48:35 -08:00
2006-03-20 19:15:29 -08:00
2006-03-20 22:39:47 -08:00
2005-08-29 16:01:32 -07:00
2006-03-20 22:39:47 -08:00
2006-03-20 19:15:29 -08:00
2006-01-14 22:08:28 -08:00
2006-01-03 13:11:21 -08:00
2005-08-29 16:08:31 -07:00
2006-03-20 17:46:56 -08:00
2006-02-09 16:43:41 -08:00
2006-03-20 21:35:01 -08:00
2006-02-13 15:36:21 -08:00
2006-03-20 22:32:28 -08:00
2006-03-20 22:52:32 -08:00
2006-01-09 14:56:56 -08:00
2006-01-03 13:10:55 -08:00
2006-01-03 13:10:54 -08:00
2006-01-09 14:16:18 -08:00
2005-08-29 16:03:06 -07:00
2006-01-06 13:24:29 -08:00
2006-02-15 15:10:22 -08:00
2006-01-07 12:57:36 -08:00
2006-01-11 18:42:14 -08:00
2006-03-22 14:27:59 -08:00
2006-03-20 22:48:35 -08:00
2006-03-20 22:33:17 -08:00
2006-03-20 22:23:58 -08:00
2006-02-15 15:10:22 -08:00
2006-03-20 22:32:28 -08:00
2006-01-03 13:10:28 -08:00
2006-01-10 12:54:29 -08:00
2005-08-29 15:33:20 -07:00
2005-06-13 14:29:06 -07:00
2005-06-13 14:29:06 -07:00
2006-02-02 16:59:16 -08:00
2005-04-16 15:20:36 -07:00
2006-02-15 01:34:23 -08:00
2006-02-05 11:06:51 -08:00
2005-08-29 15:41:54 -07:00
2006-03-20 22:48:35 -08:00
2006-02-23 16:10:52 -08:00
2006-01-03 13:10:38 -08:00
2006-03-20 22:40:29 -08:00
2006-01-03 13:10:27 -08:00
2006-01-03 16:03:49 -08:00
2006-01-03 13:11:09 -08:00
2005-08-29 15:57:54 -07:00
2006-03-12 20:39:39 -08:00
2006-03-20 22:23:10 -08:00
2005-11-10 16:53:30 -08:00
2006-03-20 21:32:58 -08:00
2006-03-20 22:48:35 -08:00
2006-01-03 13:10:47 -08:00
2006-03-20 22:40:29 -08:00
2005-11-10 17:07:24 -08:00
2006-03-20 17:53:41 -08:00
2006-01-04 13:59:32 -08:00
2005-08-29 15:57:48 -07:00
2006-03-20 22:48:35 -08:00
2006-03-20 22:48:35 -08:00
2006-01-07 12:57:31 -08:00
2006-02-15 15:10:22 -08:00
2006-02-23 16:19:26 -08:00
2006-01-13 14:34:36 -08:00
2006-03-20 22:33:17 -08:00