netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: roy.qing.li@gmail.com
Cc: netdev@vger.kernel.org, hannes@stressinduktion.org,
	gaofeng@cn.fujitsu.com
Subject: Re: [PATCH v2] ipv6: always set the new created dst's from in ip6_rt_copy
Date: Thu, 19 Dec 2013 18:36:25 -0500 (EST)	[thread overview]
Message-ID: <20131219.183625.1952631278036234141.davem@davemloft.net> (raw)
In-Reply-To: <1387428026-30152-1-git-send-email-roy.qing.li@gmail.com>

From: roy.qing.li@gmail.com
Date: Thu, 19 Dec 2013 12:40:26 +0800

> From: Li RongQing <roy.qing.li@gmail.com> 
> 
> ip6_rt_copy only sets dst.from if ort has flag RTF_ADDRCONF and RTF_DEFAULT.
> but the prefix routes which did get installed by hand locally can have an
> expiration, and no any flag combination which can ensure a potential from
> does never expire, so we should always set the new created dst's from.
> 
> This also fixes the new created dst is always expired since the ort, which
> is created by RA, maybe has RTF_EXPIRES and RTF_ADDRCONF, but no RTF_DEFAULT.
> 
> Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
> CC: Gao feng <gaofeng@cn.fujitsu.com>
> Signed-off-by: Li RongQing <roy.qing.li@gmail.com>

Applied and queued up for -stable, thanks.

  parent reply	other threads:[~2013-12-19 23:36 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16  8:31 [PATCH] ipv6: clear RTF_EXPIRES when call ip6_rt_copy roy.qing.li
2013-12-16 13:47 ` Eric Dumazet
2013-12-17  3:25 ` Gao feng
2013-12-17  3:32   ` RongQing Li
2013-12-17  5:57     ` Gao feng
2013-12-17  6:42       ` RongQing Li
2013-12-17  7:02         ` Hannes Frederic Sowa
2013-12-17  7:46           ` Gao feng
2013-12-17  8:30             ` Hannes Frederic Sowa
2013-12-17  9:23               ` Gao feng
2013-12-17 13:48             ` Hannes Frederic Sowa
2013-12-18  0:48               ` Gao feng
2013-12-18  1:58                 ` RongQing Li
2013-12-18  2:09                   ` Gao feng
2013-12-18  2:21                     ` RongQing Li
2013-12-18  6:20                       ` Hannes Frederic Sowa
2013-12-18  8:40                         ` Gao feng
2013-12-19  0:37                           ` Hannes Frederic Sowa
2013-12-19  0:47                             ` RongQing Li
2013-12-19  4:40                             ` [PATCH v2] ipv6: always set the new created dst's from in ip6_rt_copy roy.qing.li
2013-12-19 12:43                               ` Hannes Frederic Sowa
2013-12-19 23:36                               ` David Miller [this message]
2013-12-18  7:59                 ` [PATCH] ipv6: clear RTF_EXPIRES when call ip6_rt_copy Hannes Frederic Sowa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131219.183625.1952631278036234141.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=gaofeng@cn.fujitsu.com \
    --cc=hannes@stressinduktion.org \
    --cc=netdev@vger.kernel.org \
    --cc=roy.qing.li@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).