Updated by Dan McDonald over 4 years ago
The summary is one case of a generic class of check-without-lock-then-hold problems across netstack.c. This fix addresses them.
flag check (should be under mutex)
XXX KEBE SAYS MUCH CAN HAPPEN HERE XXX
if flags don't check, return, else...
XXX AND HERE TOO XXX
if flags don't check, mutex_exit and return, else...
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 704ca705399a21dba6e20e147ac68d7a067570e6 Author: Dan McDonald <firstname.lastname@example.org> Date: 2017-12-12T16:48:53.000Z 8901 netstack_find_by_stackid() drops-and-reacquires Reviewed by: Jason King <email@example.com> Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Ryan Zezeski <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>