mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mpls: fix rtm policy in mpls_getroute
fix rtm policy name typo in mpls_getroute and also remove
export of rtm_ipv4_policy
Fixes: 397fc9e5ce ("mpls: route get support")
Reported-by: David S. Miller <[email protected]>
Signed-off-by: Roopa Prabhu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dcc13ee85f
commit
ca4a1cd930
2 changed files with 1 additions and 2 deletions
|
|
@ -2091,7 +2091,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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue