diff options
Diffstat (limited to 'net/ipv4/ping.c')
-rw-r--r-- | net/ipv4/ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 706d108e128c..a62610443152 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c | |||
@@ -237,11 +237,11 @@ static void inet_get_ping_group_range_net(struct net *net, kgid_t *low, | |||
237 | unsigned int seq; | 237 | unsigned int seq; |
238 | 238 | ||
239 | do { | 239 | do { |
240 | seq = read_seqbegin(&sysctl_local_ports.lock); | 240 | seq = read_seqbegin(&net->ipv4.sysctl_local_ports.lock); |
241 | 241 | ||
242 | *low = data[0]; | 242 | *low = data[0]; |
243 | *high = data[1]; | 243 | *high = data[1]; |
244 | } while (read_seqretry(&sysctl_local_ports.lock, seq)); | 244 | } while (read_seqretry(&net->ipv4.sysctl_local_ports.lock, seq)); |
245 | } | 245 | } |
246 | 246 | ||
247 | 247 | ||