aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/sysctl_net_ipv4.c
diff options
context:
space:
mode:
authorLi Wei <lw@cn.fujitsu.com>2012-07-17 15:28:59 +0800
committerDavid S. Miller <davem@davemloft.net>2012-07-17 01:35:03 -0700
commita858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d (patch)
tree363940e9b8d8ffa40624cd9974cc872cab355fd2 /net/ipv4/sysctl_net_ipv4.c
parentMerge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next (diff)
downloadlinux-dev-a858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d.tar.xz
linux-dev-a858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d.zip
ipv6: fix unappropriate errno returned for non-multicast address
We need to check the passed in multicast address and return appropriate errno(EINVAL) if it is not valid. And it's no need to walk through the ipv6_mc_list in this situation. Signed-off-by: Li Wei <lw@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/sysctl_net_ipv4.c')
0 files changed, 0 insertions, 0 deletions