]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET]: Use existing device list walker for /proc/dev_mcast.
authorPavel Emelyanov <xemul@openvz.org>
Fri, 29 Feb 2008 19:44:14 +0000 (11:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:44:14 +0000 (11:44 -0800)
commit95a363582b69bec53bc73ff2100dfc344bd23098
tree8ec3fc592df5eb5e06a9e4e4c221d9ace39c3a34
parentfd80eb942ad9761f241c9b287b3b9a342b20690d
[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>
net/core/dev_mcast.c