>It adds one conditional inside a rare 'if' case, so it's not a
>performance issue, and it means that the next time something like this
>happens, the machine will cleanly panic, and leave a very easy to
>understand indication of what went wrong.
I don't like a panic for a thing that we can recover gracefully and
allowing the user to also see the message even if he was running under X 8).
Fine,so make it set a standard timeout and do a printk instead. This is
a "never can happen" situation, right?
if (!timeout) {
timeout = tp->rto;
if (!timeout) {
printk("Bugcheck: tcp_send_delayed_ack ato and rto are 0");
timeout = HZ/50;
}
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/