Commit 841891e
rtnetlink: Update rtnl_stats_dump for strict data checking
Update rtnl_stats_dump for strict data checking. If the flag is set,
the dump request is expected to have an if_stats_msg struct as the header.
All elements of the struct are expected to be 0 except filter_mask which
must be non-0 (legacy behavior). No attributes are supported.
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 2d011be commit 841891e
1 file changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4680 | 4680 | | |
4681 | 4681 | | |
4682 | 4682 | | |
| 4683 | + | |
4683 | 4684 | | |
4684 | 4685 | | |
4685 | 4686 | | |
| |||
4696 | 4697 | | |
4697 | 4698 | | |
4698 | 4699 | | |
4699 | | - | |
| 4700 | + | |
| 4701 | + | |
4700 | 4702 | | |
| 4703 | + | |
4701 | 4704 | | |
4702 | 4705 | | |
| 4706 | + | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
| 4710 | + | |
| 4711 | + | |
| 4712 | + | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
| 4716 | + | |
| 4717 | + | |
| 4718 | + | |
| 4719 | + | |
| 4720 | + | |
4703 | 4721 | | |
4704 | | - | |
| 4722 | + | |
| 4723 | + | |
4705 | 4724 | | |
| 4725 | + | |
4706 | 4726 | | |
4707 | 4727 | | |
4708 | 4728 | | |
| |||
0 commit comments