From: David Miller <davem@davemloft.net>
To: ja@ssi.bg
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net] ipv4: return valid RTA_IIF on ip route get
Date: Sun, 13 Apr 2014 23:24:08 -0400 (EDT) [thread overview]
Message-ID: <20140413.232408.2160730307149131073.davem@davemloft.net> (raw)
In-Reply-To: <1397401682-8615-1-git-send-email-ja@ssi.bg>
From: Julian Anastasov <ja@ssi.bg>
Date: Sun, 13 Apr 2014 18:08:02 +0300
> Extend commit 13378cad02afc2adc6c0e07fca03903c7ada0b37
> ("ipv4: Change rt->rt_iif encoding.") from 3.6 to return valid
> RTA_IIF on 'ip route get ... iif DEVICE' instead of rt_iif 0
> which is displayed as 'iif *'.
>
> inet_iif is not appropriate to use because skb_iif is not set.
> Use the skb->dev->ifindex instead.
>
> Signed-off-by: Julian Anastasov <ja@ssi.bg>
Applied and queued up for -stable, thanks Julian.
prev parent reply other threads:[~2014-04-14 3:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-13 15:08 [PATCH net] ipv4: return valid RTA_IIF on ip route get Julian Anastasov
2014-04-14 3:24 ` David Miller [this message]
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=20140413.232408.2160730307149131073.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ja@ssi.bg \
--cc=netdev@vger.kernel.org \
/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).