Commit 4f5b0080 authored by David S. Miller's avatar David S. Miller

[IPV4]: When advmss of route is zero, report it as zero not 40.

parent 9c5f0745
......@@ -248,7 +248,8 @@ static int rt_cache_get_info(char *buffer, char **start, off_t offset,
r->u.dst.__use,
0,
(unsigned long)r->rt_src,
(int)r->u.dst.advmss + 40,
(r->u.dst.advmss ?
(int) r->u.dst.advmss + 40 : 0),
r->u.dst.window,
(int)((r->u.dst.rtt >> 3) + r->u.dst.rttvar),
r->fl.fl4_tos,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment