mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Just minor overlapping changes in the conflicts here. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
13dfb3fa49
1012 changed files with 9587 additions and 7699 deletions
|
|
@ -165,6 +165,7 @@ static struct sk_buff
|
|||
"Expected meta frame, is %12llx "
|
||||
"in the DSA master multicast filter?\n",
|
||||
SJA1105_META_DMAC);
|
||||
kfree_skb(sp->data->stampable_skb);
|
||||
}
|
||||
|
||||
/* Hold a reference to avoid dsa_switch_rcv
|
||||
|
|
@ -211,17 +212,8 @@ static struct sk_buff
|
|||
* for further processing up the network stack.
|
||||
*/
|
||||
kfree_skb(skb);
|
||||
|
||||
skb = skb_copy(stampable_skb, GFP_ATOMIC);
|
||||
if (!skb) {
|
||||
dev_err_ratelimited(dp->ds->dev,
|
||||
"Failed to copy stampable skb\n");
|
||||
spin_unlock(&sp->data->meta_lock);
|
||||
return NULL;
|
||||
}
|
||||
skb = stampable_skb;
|
||||
sja1105_transfer_meta(skb, meta);
|
||||
/* The cached copy will be freed now */
|
||||
skb_unref(stampable_skb);
|
||||
|
||||
spin_unlock(&sp->data->meta_lock);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue