From: Dan Carpenter
Date: Sat, 23 May 2020 20:46:48 +0300
> The value of "n" is capped at 0x1ff but it checked for negative
> values. I don't think this causes a problem but I'm not certain and
> it's harmless to prevent it.
>
> Fixes: 2e04172875c9 ("ipv4: do compat setsockopt for MCAST_MSF
The value of "n" is capped at 0x1ff but it checked for negative
values. I don't think this causes a problem but I'm not certain and
it's harmless to prevent it.
Fixes: 2e04172875c9 ("ipv4: do compat setsockopt for MCAST_MSFILTER directly")
Signed-off-by: Dan Carpenter
---
net/ipv4/ip_sockg