From: Arkadi Sharshevsky <[email protected]>
Date: Thu, 8 Mar 2018 12:42:10 +0200
> The __send_and_alloc_skb() receives a skb ptr as a parameter but in
> case it fails the skb is not valid:
> - Send failed and released the skb internally.
> - Allocation failed.
>
> The current code tries to release the skb in case of failure which
> causes redundant freeing.
>
> Fixes: 9b00cf2d1024 ("team: implement multipart netlink messages for options
> transfers")
> Signed-off-by: Arkadi Sharshevsky <[email protected]>
> Acked-by: Jiri Pirko <[email protected]>
Indeed, all of the team send functions call down into either multicast
or unicast netlink sends, which either free or consume the SKB.
Applied and queued up for -stable, thanks.