diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-10-20 14:19:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-22 16:23:12 -0400 |
commit | 396a30cce15d084b2b1a395aa6d515c3d559c674 (patch) | |
tree | e9421ffe250b8f5c509142bd79d313de39976457 /drivers/net/ethernet/qlogic/qede/qede_ethtool.c | |
parent | 860e0217fcc9c52013d2dde0b5953fdc95276fc1 (diff) | |
download | linux-396a30cce15d084b2b1a395aa6d515c3d559c674.tar.bz2 |
ipv4: use the right lock for ping_group_range
This reverts commit a681574c99be23e4d20b769bf0e543239c364af5
("ipv4: disable BH in set_ping_group_range()") because we never
read ping_group_range in BH context (unlike local_port_range).
Then, since we already have a lock for ping_group_range, those
using ip_local_ports.lock for ping_group_range are clearly typos.
We might consider to share a same lock for both ping_group_range
and local_port_range w.r.t. space saving, but that should be for
net-next.
Fixes: a681574c99be ("ipv4: disable BH in set_ping_group_range()")
Fixes: ba6b918ab234 ("ping: move ping_group_range out of CONFIG_SYSCTL")
Cc: Eric Dumazet <edumazet@google.com>
Cc: Eric Salo <salo@google.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qede/qede_ethtool.c')
0 files changed, 0 insertions, 0 deletions