]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipv4: add mc_count to in_device.
authorRami Rosen <ramirose@gmail.com>
Tue, 7 Oct 2008 22:34:37 +0000 (15:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Oct 2008 22:34:37 +0000 (15:34 -0700)
commitb8bae41ed6a53cce56c50811a91cd963e3187d1c
treea54cbcedbfd4d4f88fe207068c9b910c884b6b20
parentbe713a443ee019489890e93654557916fbf72612
ipv4: add mc_count to in_device.

This patch add mc_count to struct in_device and updates
increment/decrement/initilaize of this field in IPv4 and in IPv6.

- Also printing the vfs /proc entry (/proc/net/igmp) is adjusted to
use the new mc_count.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inetdevice.h
net/ipv4/igmp.c