Re: [PATCH] net: Add default_advmss() methods to blackhole dst_ops

From: Eric Dumazet
Date: Fri Feb 18 2011 - 08:24:18 EST


Le vendredi 18 fÃvrier 2011 Ã 21:16 +0800, Changli Gao a Ãcrit :

> I am wondering why magic number 256 is used here. Is there a special
> reason? Thanks.
>

It really doesnt matter. SYN message will be dropped anyway.

256 happens to be the default value
of /proc/sys/net/ipv4/route/min_adv_mss



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/