Commit ffabe98
net: make dev_unreg_count global
We can use a global dev_unreg_count counter instead
of a per netns one.
As a bonus we can factorize the changes done on it
for bulk device removals.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 45a96c4 commit ffabe98
File tree
4 files changed
+11
-15
lines changed- include
- linux
- net
- net/core
4 files changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9698 | 9698 | | |
9699 | 9699 | | |
9700 | 9700 | | |
| 9701 | + | |
9701 | 9702 | | |
9702 | 9703 | | |
9703 | 9704 | | |
9704 | 9705 | | |
9705 | | - | |
9706 | 9706 | | |
9707 | 9707 | | |
9708 | 9708 | | |
| |||
10529 | 10529 | | |
10530 | 10530 | | |
10531 | 10531 | | |
| 10532 | + | |
10532 | 10533 | | |
10533 | 10534 | | |
10534 | 10535 | | |
| |||
10565 | 10566 | | |
10566 | 10567 | | |
10567 | 10568 | | |
| 10569 | + | |
10568 | 10570 | | |
10569 | 10571 | | |
10570 | 10572 | | |
| |||
10582 | 10584 | | |
10583 | 10585 | | |
10584 | 10586 | | |
10585 | | - | |
10586 | | - | |
| 10587 | + | |
10587 | 10588 | | |
10588 | 10589 | | |
10589 | 10590 | | |
10590 | 10591 | | |
| 10592 | + | |
| 10593 | + | |
10591 | 10594 | | |
10592 | 10595 | | |
10593 | 10596 | | |
| |||
11034 | 11037 | | |
11035 | 11038 | | |
11036 | 11039 | | |
| 11040 | + | |
11037 | 11041 | | |
11038 | 11042 | | |
11039 | 11043 | | |
| |||
11130 | 11134 | | |
11131 | 11135 | | |
11132 | 11136 | | |
| 11137 | + | |
11133 | 11138 | | |
| 11139 | + | |
11134 | 11140 | | |
11135 | 11141 | | |
11136 | 11142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | 486 | | |
489 | 487 | | |
490 | 488 | | |
491 | 489 | | |
492 | | - | |
493 | 490 | | |
494 | 491 | | |
495 | 492 | | |
496 | 493 | | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
| 494 | + | |
504 | 495 | | |
505 | 496 | | |
506 | 497 | | |
| |||
0 commit comments