Home
last modified time | relevance | path

Searched refs:olr (Results 1 – 2 of 2) sorted by relevance

/net/ipv6/
Dip6mr.c1802 int olr; in ip6_mroute_getsockopt() local
1831 if (get_user(olr, optlen)) in ip6_mroute_getsockopt()
1834 olr = min_t(int, olr, sizeof(int)); in ip6_mroute_getsockopt()
1835 if (olr < 0) in ip6_mroute_getsockopt()
1838 if (put_user(olr, optlen)) in ip6_mroute_getsockopt()
1840 if (copy_to_user(optval, &val, olr)) in ip6_mroute_getsockopt()
/net/ipv4/
Dipmr.c1568 int olr; in ip_mroute_getsockopt() local
1597 if (get_user(olr, optlen)) in ip_mroute_getsockopt()
1599 olr = min_t(unsigned int, olr, sizeof(int)); in ip_mroute_getsockopt()
1600 if (olr < 0) in ip_mroute_getsockopt()
1602 if (put_user(olr, optlen)) in ip_mroute_getsockopt()
1604 if (copy_to_user(optval, &val, olr)) in ip_mroute_getsockopt()