ipv4: disable BH in set_ping_group_range()
authorEric Dumazet <edumazet@google.com>
Thu, 20 Oct 2016 17:26:48 +0000 (10:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2016 18:49:32 +0000 (14:49 -0400)
commita681574c99be23e4d20b769bf0e543239c364af5
tree5e3fc2096ae23433c214b298d08b0b3dd3d8dc32
parent286c72deabaa240b7eebbd99496ed3324d69f3c0
ipv4: disable BH in set_ping_group_range()

In commit 4ee3bd4a8c746 ("ipv4: disable BH when changing ip local port
range") Cong added BH protection in set_local_port_range() but missed
that same fix was needed in set_ping_group_range()

Fixes: b8f1a55639e6 ("udp: Add function to make source port for UDP tunnels")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Eric Salo <salo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c