gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlers
[linux-2.6-microblaze.git] / net / ethernet / eth.c
index d4fa2f1..ebcc812 100644 (file)
@@ -466,14 +466,12 @@ int eth_gro_complete(struct sk_buff *skb, int nhoff)
        if (skb->encapsulation)
                skb_set_inner_mac_header(skb, nhoff);
 
-       rcu_read_lock();
        ptype = gro_find_complete_by_type(type);
        if (ptype != NULL)
                err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete,
                                         ipv6_gro_complete, inet_gro_complete,
                                         skb, nhoff + sizeof(*eh));
 
-       rcu_read_unlock();
        return err;
 }
 EXPORT_SYMBOL(eth_gro_complete);