]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix bug in compat SIOCGETSGCNT handling.
authorDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2011 01:21:31 +0000 (17:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2011 01:21:31 +0000 (17:21 -0800)
commit599c039571caf13b02d5b011428629a56a03b753
tree4312ad7fb4821ccd38a4a0aba64b6bb560d53733
parent682b885dc656aa80d7438e66e40a25a9a2815f04
net: Fix bug in compat SIOCGETSGCNT handling.

Commit 0f598a32c08871b732e946c93687028ce5d0efb2 ("net: Add compat
ioctl support for the ipv4 multicast ioctl SIOCGETSGCNT") added the
correct plumbing to handle SIOCGETSGCNT properly.

However, whilst definiting a proper "struct compat_sioc_sg_req" it
isn't actually used in ipmr_compat_ioctl().

Correct this oversight.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c