Repository navigation
Commit 884a963
ath9k: fix beacon resource related race condition
The beacon tasklet is accesssing the bslot info for beacon generation.
Meanwhile the same slot can be freed on interface deletion.
Current the remove_interface disables the beacon alert after freeing the slot.
This may leads to null pointer access.
This patch disables SWBA and kills the beacon tasklet to prevent access
to the slot to be freed. After releasing the slot, swba will be enabled again
upon the availablity of beaconing interfaces.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>1 parent 38852b2 commit 884a963
1 file changed
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1520 | 1520 | | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | | - | |
1524 | | - | |
1525 | 1523 | | |
1526 | 1524 | | |
1527 | 1525 | | |
| |||
1535 | 1533 | | |
1536 | 1534 | | |
1537 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
1538 | 1538 | | |
| 1539 | + | |
1539 | 1540 | | |
1540 | 1541 | | |
| 1542 | + | |
1541 | 1543 | | |
1542 | 1544 | | |
1543 | 1545 | | |
1544 | 1546 | | |
1545 | 1547 | | |
1546 | | - | |
1547 | | - | |
1548 | | - | |
1549 | | - | |
1550 | | - | |
1551 | | - | |
1552 | | - | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
1556 | | - | |
1557 | | - | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
1558 | 1551 | | |
1559 | 1552 | | |
1560 | 1553 | | |
| |||
0 commit comments