On Sat, 12 Nov 2022 01:37:14 +0200 Vladimir Oltean wrote:I don't really see a valid use case in running generic XDP, TC and NFT on a DSA master dealing with packets before the tag receive function has been run. And after the tag has been processed, the metadata DST is cleared from the skb.
Jakub, what do you think? Refcounting or no refcounting?
I would not trust my word over Felix's.. but since you asked I'd vote
for refcounted. There's probably a handful of low level redirects
(generic XDP, TC, NFT) that can happen and steal the packet, and
keep it alive for a while. I don't think they will all necessarily
clear the dst.