diff --git a/[refs] b/[refs] index 4bdc4e8c7d6e..923d33df4d73 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1f1b9c9990205759aae31b7734b0ede41a867f32 +refs/heads/master: 6b8c92ba07287578718335ce409de8e8d7217e40 diff --git a/trunk/include/net/netlink.h b/trunk/include/net/netlink.h index f3b201d335b3..9801c55de5d6 100644 --- a/trunk/include/net/netlink.h +++ b/trunk/include/net/netlink.h @@ -384,7 +384,7 @@ static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, * * Returns the first attribute which matches the specified type. */ -static inline struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh, +static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, int hdrlen, int attrtype) { return nla_find(nlmsg_attrdata(nlh, hdrlen),