netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

* Re: [PATCH] [2.6,2.4] Don't update MTU by invalid mtu value in RA
  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
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-12-25  3:44 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / _$B5HF#1QL@; +Cc: netdev, yoshfuji, kago

On Thu, 18 Dec 2003 17:34:08 +0900 (JST)
YOSHIFUJI Hideaki / _$B5HF#1QL@ <yoshfuji@linux-ipv6.org> wrote:

> D: Don't update MTU by invalid mtu value in RA message.
> D: Notified by Hiroaki Kago <kago@jp.fujitsu.com>.

Applied, thanks Yoshfuji and Hiroaki.

^ 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).