Skip to content
Commit 3384901f authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

tr: fix leakage of device in net/802/tr.c



Add dev_put() after dev_get_by_index() to avoid leakage
of device.

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d6c519e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment