Commit 2cc24ca
fw/b: Prevent double interface restriction remove on interface name change
* When temporarily removing a restriction owing to interface name
change, update the boolean state array to match. Otherwise, we
get out of sync, follow-on double removes can occur and the system
server will crash.
* In addition, it was observed that it is possible to receive a network
callback for a (VPN) network that has both WIFI and VPN transports set (it
looked transient rather than persisent but difficult to tell). So make
the list of use cases in priority of match order, putting VPN first.
Change-Id: If484b5a715e0a972769c847ea4549fd84afb3ccf1 parent 832f885 commit 2cc24ca
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
| 286 | + | |
286 | 287 | | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
360 | 362 | | |
361 | 363 | | |
362 | 364 | | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
1559 | 1562 | | |
1560 | 1563 | | |
1561 | 1564 | | |
| 1565 | + | |
1562 | 1566 | | |
1563 | 1567 | | |
1564 | 1568 | | |
| |||
0 commit comments