Updated by Dan McDonald almost 3 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 almost 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 704ca705399a21dba6e20e147ac68d7a067570e6 Author: Dan McDonald <email@example.com> Date: 2017-12-12T16:48:53.000Z 8901 netstack_find_by_stackid() drops-and-reacquires Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Ryan Zezeski <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>