Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Bring in the 'net' tree so that we can get some ipv4/ipv6 bug fixes that some net-next work will build upon. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1766,6 +1766,9 @@ int ip6_mroute_setsockopt(struct sock *sk, int optname, char __user *optval, uns
|
||||
return -EINVAL;
|
||||
if (get_user(v, (u32 __user *)optval))
|
||||
return -EFAULT;
|
||||
/* "pim6reg%u" should not exceed 16 bytes (IFNAMSIZ) */
|
||||
if (v != RT_TABLE_DEFAULT && v >= 100000000)
|
||||
return -EINVAL;
|
||||
if (sk == mrt->mroute6_sk)
|
||||
return -EBUSY;
|
||||
|
||||
|
Reference in New Issue
Block a user