commit | 16c5dcb13a371feae0e680e6518775b5335b37d8 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Sat Apr 08 08:55:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 08 13:49:36 2017 -0700 |
tree | 2dd0fe414dc67bcef0da6c4e2a19178650145fe3 | |
parent | 9d7f9c4f78e95dd9d17199a53d903262530be62e [diff] |
net: dsa: Move skb_unshare() to dsa_switch_rcv() All DSA tag receive functions need to unshare the skb before mangling it, move this to the generic dsa_switch_rcv() function which will allow us to make the tag receive function return their mangled skb without caring about freeing a NULL skb. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>