netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roopa Prabhu <roopa@cumulusnetworks.com>
To: David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH] ipv4: Export rtm_ipv4_policy.
Date: Tue, 4 Jul 2017 16:21:42 -0700	[thread overview]
Message-ID: <CAJieiUgrxhXgm4zP5rU3GS854s25sjAGn7FqdBviAz5O11ZpTw@mail.gmail.com> (raw)
In-Reply-To: <20170704.071815.1571286541262131188.davem@davemloft.net>

On Tue, Jul 4, 2017 at 7:18 AM, David Miller <davem@davemloft.net> wrote:
>
> The MPLS code now needs it.
>
> Fixes: 397fc9e5cefe ("mpls: route get support")
> Signed-off-by: David S. Miller <davem@davemloft.net>
> ---

Sorry david. Just saw this. It was a cut-copy-paste error.
It should be the below. I can also submit a patch. Thanks.

diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c

index 4b6ff85..9a28c3f 100644

--- a/net/mpls/af_mpls.c

+++ b/net/mpls/af_mpls.c

@@ -2130,7 +2130,7 @@ static int mpls_getroute(struct sk_buff *in_skb,
struct nlmsghdr *in_nlh,

        u8 n_labels;



        err = nlmsg_parse(in_nlh, sizeof(*rtm), tb, RTA_MAX,

-                         rtm_ipv4_policy, extack);

+                         rtm_mpls_policy, extack);

        if (err < 0)

                goto errout;

      reply	other threads:[~2017-07-04 23:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-04 14:18 [PATCH] ipv4: Export rtm_ipv4_policy David Miller
2017-07-04 23:21 ` Roopa Prabhu [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=CAJieiUgrxhXgm4zP5rU3GS854s25sjAGn7FqdBviAz5O11ZpTw@mail.gmail.com \
    --to=roopa@cumulusnetworks.com \
    --cc=davem@davemloft.net \
    --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).