summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-11-25 06:41:45 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-25 16:34:16 -0500
commit5e1859fbcc3ccdd56d528df91d7b6f70e73d6b82 (patch)
treeefa1ce9061f7bcf8280159c9d2612221279766d3 /net/dsa
parent11e980299f922884377c7ce5d8c331327c5c3fd6 (diff)
downloadop-kernel-dev-5e1859fbcc3ccdd56d528df91d7b6f70e73d6b82.zip
op-kernel-dev-5e1859fbcc3ccdd56d528df91d7b6f70e73d6b82.tar.gz
ipv4: ipmr: various fixes and cleanups
1) ip_mroute_setsockopt() & ip_mroute_getsockopt() should not access/set raw_sk(sk)->ipmr_table before making sure the socket is a raw socket, and protocol is IGMP 2) MRT_INIT should return -EINVAL if optlen != sizeof(int), not -ENOPROTOOPT 3) MRT_ASSERT & MRT_PIM should validate optlen 4) " (v) ? 1 : 0 " can be written as " !!v " Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud