X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fnet%2Fnetlink.h;h=b140c8f1be22d2e9943d7d98ae9e7db3c076f20b;hb=9ad8bc4d4eab4b9218b306175957f89816663a7a;hp=e4650e5b64a1db760a220fba3b7d4ad50eb54b17;hpb=cfa0bb2aef998a64d5ad2c065be8511ad98d5d79;p=mirror_ubuntu-eoan-kernel.git diff --git a/include/net/netlink.h b/include/net/netlink.h index e4650e5b64a1..b140c8f1be22 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -684,9 +684,8 @@ static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, const struct nla_policy *policy, struct netlink_ext_ack *extack) { - return __nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), - nlmsg_attrlen(nlh, hdrlen), policy, - NL_VALIDATE_STRICT, extack); + return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, + NL_VALIDATE_STRICT, extack); } /**