Messages in this thread | | | Date | Thu, 13 May 1999 16:15:35 +0400 | From | Oleg Drokin <> | Subject | [2.2.8] Division by zero in TCP code. Found the place. |
| |
Hello!
This is followup to my prev post. I found where div by zero occurs, in linux/include/net/tcp.h: extern __inline__ __u32 tcp_recalc_ssthresh(struct tcp_opt *tp) { __u32 snd_wnd_packets = tp->snd_wnd / tp->mss_cache; ^^^^^^^^^^^^^^^^^^^^^^ Here. Ain't we can have mss_cache == 0???
Bye, Oleg
- 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/
| |