diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-08-12 23:24:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-14 19:58:57 +0300 |
commit | 1c89a8e3d9a235454169e189ea6c463bfa8749ab (patch) | |
tree | 0f96a49cda7620855100c5ac60b9a0d383f248f1 /net/core/net-traces.c | |
parent | ac272a3e9c0838a2cbc76327e29788dc2af49abe (diff) | |
download | linux-1c89a8e3d9a235454169e189ea6c463bfa8749ab.tar.xz |
ieee802154: hwsim: using right kind of iteration
This patch fixes the error path to unsubscribe all other phy's from
current phy. The actually code using a wrong kind of list iteration may
copied from the case to unsubscribe the current phy from all other
phy's.
Cc: Stefan Schmidt <stefan@datenfreihafen.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-traces.c')
0 files changed, 0 insertions, 0 deletions