Skip to content
Commit d19b183c authored by Douglas Caetano dos Santos's avatar Douglas Caetano dos Santos Committed by David S. Miller
Browse files

net/packet: fix missing net_device reference release

When using a TX ring buffer, if an error occurs processing a control
message (e.g. invalid message), the net_device reference is not
released.

Fixes c14ac945

 ("sock: enable timestamping using control messages")
Signed-off-by: default avatarDouglas Caetano dos Santos <douglascs@taghos.com.br>
Acked-by: default avatarSoheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4762010f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment