diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-03-09 21:25:05 (GMT) |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-19 12:21:52 (GMT) |
commit | bf93ad72cd8cfabe66a7b3d66236a1266d357189 (patch) | |
tree | 1d774895997887e3f432087bf26dc568694ea840 /net/netfilter | |
parent | 0c12582fbcdea0cbb0dfd224e1c5f9a8428ffa18 (diff) | |
download | linux-fsl-qoriq-bf93ad72cd8cfabe66a7b3d66236a1266d357189.tar.xz |
ipvs: remove extra rcu lock
In 3.7 we added code that uses ipv4_update_pmtu but after commit
c5ae7d4192 (ipv4: must use rcu protection while calling fib_lookup)
the RCU lock is not needed.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index 18b4bc5..61f49d2 100644 --- a/net/netfilter/ipvs/ip_vs_core.c +++ b/net/netfilter/ipvs/ip_vs_core.c @@ -1394,10 +1394,8 @@ ip_vs_in_icmp(struct sk_buff *skb, int *related, unsigned int hooknum) skb_reset_network_header(skb); IP_VS_DBG(12, "ICMP for IPIP %pI4->%pI4: mtu=%u\n", &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, mtu); - rcu_read_lock(); ipv4_update_pmtu(skb, dev_net(skb->dev), mtu, 0, 0, 0, 0); - rcu_read_unlock(); /* Client uses PMTUD? */ if (!(cih->frag_off & htons(IP_DF))) goto ignore_ipip; |