diff options
author | Douglas Caetano dos Santos <douglascs@taghos.com.br> | 2017-05-12 15:19:15 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-15 14:22:12 -0400 |
commit | d19b183cdc1fa3d70d6abe2a4c369e748cd7ebb8 (patch) | |
tree | f452ca1b8115d8493ada5403dbd5bad359471fe0 /net/rds | |
parent | 4762010f09ac0453f613df345c5281e7f2dec510 (diff) | |
download | op-kernel-dev-d19b183cdc1fa3d70d6abe2a4c369e748cd7ebb8.zip op-kernel-dev-d19b183cdc1fa3d70d6abe2a4c369e748cd7ebb8.tar.gz |
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 c14ac9451c348 ("sock: enable timestamping using control messages")
Signed-off-by: Douglas Caetano dos Santos <douglascs@taghos.com.br>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions