]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fd042809ac10ec152a884943a5278087e0579cd
tree5e3fc2096ae23433c214b298d08b0b3dd3d8dc32
parent1e6c9a685094f4c86d9bd508321e027d0f3dc8cf
ipv4: disable BH in set_ping_group_range()

In commit f5dd2bb1c82da ("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: 4e8f32ee914b ("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