Repository navigation
Commit d23deaa
inet_diag: Introduce socket family checks
The new API will specify family to work with. Teach the existing
socket walking code to bypass not interesting ones.
To preserve compatibility with existing behavior the _compat code
sets interesting family to AF_UNSPEC to dump them all.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 25c4cd2 commit d23deaa
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
746 | 750 | | |
747 | 751 | | |
748 | 752 | | |
| |||
808 | 812 | | |
809 | 813 | | |
810 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
811 | 818 | | |
812 | 819 | | |
813 | 820 | | |
| |||
830 | 837 | | |
831 | 838 | | |
832 | 839 | | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
833 | 843 | | |
834 | 844 | | |
835 | 845 | | |
| |||
873 | 883 | | |
874 | 884 | | |
875 | 885 | | |
876 | | - | |
| 886 | + | |
877 | 887 | | |
878 | 888 | | |
879 | 889 | | |
| |||
0 commit comments