Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull in the 'net' tree to get Daniel Borkmann's flow dissector infrastructure change. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2690,7 +2690,7 @@ static int rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
|
||||
struct rtattr *attr = (void *)nlh + NLMSG_ALIGN(min_len);
|
||||
|
||||
while (RTA_OK(attr, attrlen)) {
|
||||
unsigned int flavor = attr->rta_type;
|
||||
unsigned int flavor = attr->rta_type & NLA_TYPE_MASK;
|
||||
if (flavor) {
|
||||
if (flavor > rta_max[sz_idx])
|
||||
return -EINVAL;
|
||||
|
Reference in New Issue
Block a user