Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflict resolution of af_smc.c from Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -140,13 +140,11 @@ static int __strp_recv(read_descriptor_t *desc, struct sk_buff *orig_skb,
|
||||
/* We are going to append to the frags_list of head.
|
||||
* Need to unshare the frag_list.
|
||||
*/
|
||||
if (skb_has_frag_list(head)) {
|
||||
err = skb_unclone(head, GFP_ATOMIC);
|
||||
if (err) {
|
||||
STRP_STATS_INCR(strp->stats.mem_fail);
|
||||
desc->error = err;
|
||||
return 0;
|
||||
}
|
||||
err = skb_unclone(head, GFP_ATOMIC);
|
||||
if (err) {
|
||||
STRP_STATS_INCR(strp->stats.mem_fail);
|
||||
desc->error = err;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (unlikely(skb_shinfo(head)->frag_list)) {
|
||||
|
Reference in New Issue
Block a user