Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
The mptcp conflict was overlapping additions. The SMC conflict was an additional and removal happening at the same time. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -497,8 +497,9 @@ genl_family_rcv_msg_attrs_parse(const struct genl_family *family,
|
||||
|
||||
err = __nlmsg_parse(nlh, hdrlen, attrbuf, family->maxattr,
|
||||
family->policy, validate, extack);
|
||||
if (err && parallel) {
|
||||
kfree(attrbuf);
|
||||
if (err) {
|
||||
if (parallel)
|
||||
kfree(attrbuf);
|
||||
return ERR_PTR(err);
|
||||
}
|
||||
return attrbuf;
|
||||
|
Reference in New Issue
Block a user