From 00bdc7f7e36924687a68c8d41ad88b8688b472de Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Wed, 3 Nov 2010 16:35:40 +0000 Subject: [PATCH] --- yaml --- r: 221640 b: refs/heads/master c: 6b8c92ba07287578718335ce409de8e8d7217e40 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/netlink.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),