* [PATCH] [2.6,2.4] Don't update MTU by invalid mtu value in RA
@ 2003-12-18 8:34 YOSHIFUJI Hideaki / 吉藤英明
2003-12-25 3:44 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-12-18 8:34 UTC (permalink / raw)
To: davem; +Cc: netdev, yoshfuji, Hiroaki Kago
Hello.
D: Don't update MTU by invalid mtu value in RA message.
D: Notified by Hiroaki Kago <kago@jp.fujitsu.com>.
Thanks in advance.
===== net/ipv6/ndisc.c 1.58 vs edited =====
--- 1.58/net/ipv6/ndisc.c Sat Sep 13 09:25:13 2003
+++ edited/net/ipv6/ndisc.c Thu Dec 18 17:31:27 2003
@@ -1166,9 +1166,7 @@
ND_PRINTK0("NDISC: router announcement with mtu = %d\n",
mtu);
}
- }
-
- if (in6_dev->cnf.mtu6 != mtu) {
+ } else if (in6_dev->cnf.mtu6 != mtu) {
in6_dev->cnf.mtu6 = mtu;
if (rt)
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-25 3:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18 8:34 [PATCH] [2.6,2.4] Don't update MTU by invalid mtu value in RA YOSHIFUJI Hideaki / 吉藤英明
2003-12-25 3:44 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).