diff options
author | David L Stevens <dlstevens@us.ibm.com> | 2008-04-29 03:23:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-29 03:23:00 -0700 |
commit | be666e0a1345ed80f29cb30c73da0ec2ea5c5863 (patch) | |
tree | 46a29aa49e2357a3c1c69a39d9789a16c568fe9d /net/ipv6 | |
parent | 2ad17defd596ca7e8ba782d5fc6950ee0e99513c (diff) | |
download | op-kernel-dev-be666e0a1345ed80f29cb30c73da0ec2ea5c5863.zip op-kernel-dev-be666e0a1345ed80f29cb30c73da0ec2ea5c5863.tar.gz |
net: Several cleanups for the setsockopt compat support.
1) added missing "__user" for kgsr and kgf pointers
2) verify read for only GROUP_FILTER_SIZE(0). The group_filter
structure definition (via RFC) includes space for one source
in the source list array, but that source need not be present.
So, sizeof(group_filter) > GROUP_FILTER_SIZE(0). Fixed
the user read-check for minimum length to use the smaller size.
3) remove unneeded "&" for gf_slist addresses
Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions