On Tue, Jul 4, 2017 at 7:18 AM, David Miller [off-list ref] 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;