net: rtnetlink: plumb extended ack to doit function
[platform/kernel/linux-rpi.git] / net / ipv4 / route.c
index 7a4f2c3..a444374 100644 (file)
@@ -2629,7 +2629,8 @@ nla_put_failure:
        return -EMSGSIZE;
 }
 
-static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh)
+static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
+                            struct netlink_ext_ack *extack)
 {
        struct net *net = sock_net(in_skb->sk);
        struct rtmsg *rtm;
@@ -2646,7 +2647,7 @@ static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh)
        kuid_t uid;
 
        err = nlmsg_parse(nlh, sizeof(*rtm), tb, RTA_MAX, rtm_ipv4_policy,
-                         NULL);
+                         extack);
        if (err < 0)
                goto errout;