Searched hist:a40612f399eabe23424acf5985643a35d4f2832e (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/mac802154/ |
H A D | util.c | diff a40612f399eabe23424acf5985643a35d4f2832e Thu May 19 10:05:12 CDT 2022 Miquel Raynal <miquel.raynal@bootlin.com> net: mac802154: Introduce a helper to disable the queue
Sometimes calling the stop queue helper is not enough because it does not hold any lock. In order to be safe and avoid racy situations when trying to (soon) sync the Tx queue, for instance before sending an MLME frame, let's now introduce an helper which actually hold the necessary locks when doing so.
Suggested-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20220519150516.443078-8-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
|
H A D | ieee802154_i.h | diff a40612f399eabe23424acf5985643a35d4f2832e Thu May 19 10:05:12 CDT 2022 Miquel Raynal <miquel.raynal@bootlin.com> net: mac802154: Introduce a helper to disable the queue
Sometimes calling the stop queue helper is not enough because it does not hold any lock. In order to be safe and avoid racy situations when trying to (soon) sync the Tx queue, for instance before sending an MLME frame, let's now introduce an helper which actually hold the necessary locks when doing so.
Suggested-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20220519150516.443078-8-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
|