Repository navigation
Commit 95a3635
[NET]: Use existing device list walker for /proc/dev_mcast.
The seq_file_operations' dev_mc_seq_xxx callbacks do the same thing as
the dev_seq_xxx ones do, but skip the SEQ_START_TOKEN.
So use the existing exported dev_seq_xxx calls and handle the
SEQ_START_TOKEN in the dev_mc_seq_show().
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent fd80eb9 commit 95a3635
1 file changed
Lines changed: 6 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | 159 | | |
188 | 160 | | |
189 | 161 | | |
190 | 162 | | |
191 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
192 | 167 | | |
193 | 168 | | |
194 | 169 | | |
| |||
206 | 181 | | |
207 | 182 | | |
208 | 183 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
212 | 187 | | |
213 | 188 | | |
214 | 189 | | |
| |||
0 commit comments