Guido van Rooij
d23d475fb4
Consider the following situation:
...
1. A packet comes in that is to be forwarded
2. The destination of the packet is rewritten by some firewall code
3. The next link's MTU is too small
4. The packet has the DF bit set
Then the current code is such that instead of setting the next
link's MTU in the ICMP error, ip_next_mtu() is called and a guess
is sent as to which MTU is supposed to be tried next. This is because
in this case ip_forward() is called with srcrt set to 1. In that
case the ia pointer remains NULL but it is needed to get the MTU
of the interface the packet is to be sent out from.
Thus, we always set ia to the outgoing interface.
MFC after: 2 weeks
2007-12-02 13:00:47 +00:00
..
2007-11-23 23:56:03 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2007-05-17 21:20:24 +00:00
2007-07-19 22:34:25 +00:00
2005-08-26 15:27:18 +00:00
2007-10-28 15:55:23 +00:00
2007-06-12 16:24:56 +00:00
2007-10-28 15:55:23 +00:00
2007-06-15 18:59:10 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2007-08-06 22:06:36 +00:00
2007-10-24 19:04:04 +00:00
2007-08-06 14:26:03 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2007-06-12 16:24:56 +00:00
2007-10-07 20:44:24 +00:00
2007-06-12 16:24:56 +00:00
2005-07-20 10:30:52 +00:00
2007-10-07 20:44:24 +00:00
2006-12-01 18:37:41 +00:00
2007-10-24 19:04:04 +00:00
2007-11-17 21:54:57 +00:00
2007-11-06 23:01:42 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2007-10-28 17:12:48 +00:00
2007-11-06 23:01:42 +00:00
2007-05-04 11:15:41 +00:00
2007-10-07 20:44:24 +00:00
2006-01-21 10:44:34 +00:00
2007-10-28 17:12:48 +00:00
2007-10-07 20:44:24 +00:00
2007-12-02 13:00:47 +00:00
2007-10-07 20:44:24 +00:00
2007-08-05 16:16:15 +00:00
2007-10-07 20:44:24 +00:00
2007-02-08 23:05:08 +00:00
2007-10-24 19:04:04 +00:00
2007-05-11 10:48:30 +00:00
2007-10-24 19:04:04 +00:00
2007-06-12 16:24:56 +00:00
2007-10-19 12:46:15 +00:00
2005-08-10 07:10:02 +00:00
2007-10-24 19:04:04 +00:00
2007-10-01 03:22:29 +00:00
2007-09-15 19:07:42 +00:00
2007-09-08 11:35:11 +00:00
2007-06-09 13:46:57 +00:00
2007-10-20 23:23:23 +00:00
2007-05-29 09:29:03 +00:00
2007-09-08 11:35:11 +00:00
2007-09-10 17:06:25 +00:00
2007-10-30 14:09:24 +00:00
2007-05-08 17:01:12 +00:00
2007-05-08 17:01:12 +00:00
2007-08-24 00:53:53 +00:00
2007-11-10 00:47:14 +00:00
2007-06-22 13:50:56 +00:00
2007-10-16 14:05:51 +00:00
2007-07-02 19:22:22 +00:00
2007-09-18 15:16:39 +00:00
2007-09-18 15:16:39 +00:00
2007-08-24 00:53:53 +00:00
2007-10-30 14:09:24 +00:00
2007-10-01 03:22:29 +00:00
2007-10-30 14:09:24 +00:00
2007-10-30 14:09:24 +00:00
2007-09-08 11:35:11 +00:00
2007-05-08 17:01:12 +00:00
2007-10-16 14:05:51 +00:00
2007-09-13 14:43:54 +00:00
2007-09-15 19:07:42 +00:00
2007-10-16 14:05:51 +00:00
2007-09-13 10:36:43 +00:00
2007-09-18 15:16:39 +00:00
2007-10-30 14:09:24 +00:00
2007-10-16 14:05:51 +00:00
2007-09-15 19:07:42 +00:00
2007-11-10 00:47:14 +00:00
2007-10-30 14:09:24 +00:00
2007-10-07 20:44:24 +00:00
2007-03-24 22:15:02 +00:00
2007-07-30 11:06:42 +00:00
2007-10-07 20:44:24 +00:00
2007-10-24 19:04:04 +00:00
2007-11-30 23:46:51 +00:00
2007-10-07 20:44:24 +00:00
2007-05-11 11:21:43 +00:00
2006-06-18 14:24:12 +00:00
2007-11-28 13:23:50 +00:00
2007-11-30 23:41:51 +00:00
2007-07-27 00:57:06 +00:00
2007-10-07 20:44:24 +00:00
2007-09-24 05:26:24 +00:00
2007-10-24 19:04:04 +00:00
2007-10-19 08:53:14 +00:00
2007-09-24 05:26:24 +00:00
2007-05-25 21:28:49 +00:00
2007-10-24 19:04:04 +00:00
2007-07-10 09:30:46 +00:00
2007-02-20 10:13:11 +00:00