Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
This commit is contained in:
@ -14,7 +14,7 @@ extern void rtnl_register(int protocol, int msgtype,
|
||||
extern int rtnl_unregister(int protocol, int msgtype);
|
||||
extern void rtnl_unregister_all(int protocol);
|
||||
|
||||
static inline int rtnl_msg_family(struct nlmsghdr *nlh)
|
||||
static inline int rtnl_msg_family(const struct nlmsghdr *nlh)
|
||||
{
|
||||
if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg))
|
||||
return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family;
|
||||
|
Reference in New Issue
Block a user