Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: Documentation/devicetree/bindings/net/micrel-ks8851.txt net/core/netpoll.c The net/core/netpoll.c conflict is a bug fix in 'net' happening to code which is completely removed in 'net-next'. In micrel-ks8851.txt we simply have overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1246,7 +1246,7 @@ static int copy_from_user_sec_ctx(struct xfrm_policy *pol, struct nlattr **attrs
|
||||
return 0;
|
||||
|
||||
uctx = nla_data(rt);
|
||||
return security_xfrm_policy_alloc(&pol->security, uctx);
|
||||
return security_xfrm_policy_alloc(&pol->security, uctx, GFP_KERNEL);
|
||||
}
|
||||
|
||||
static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut,
|
||||
@@ -1651,7 +1651,7 @@ static int xfrm_get_policy(struct sk_buff *skb, struct nlmsghdr *nlh,
|
||||
if (rt) {
|
||||
struct xfrm_user_sec_ctx *uctx = nla_data(rt);
|
||||
|
||||
err = security_xfrm_policy_alloc(&ctx, uctx);
|
||||
err = security_xfrm_policy_alloc(&ctx, uctx, GFP_KERNEL);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
@@ -1953,7 +1953,7 @@ static int xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
|
||||
if (rt) {
|
||||
struct xfrm_user_sec_ctx *uctx = nla_data(rt);
|
||||
|
||||
err = security_xfrm_policy_alloc(&ctx, uctx);
|
||||
err = security_xfrm_policy_alloc(&ctx, uctx, GFP_KERNEL);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user