]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv4/fib_frontend.c
udp: only do GSO if # of segs > 1
[linux.git] / net / ipv4 / fib_frontend.c
index e8bc939b56dd8524ab1176e094cdbc461fac6815..dde77f72e03edc8423e98c6f8a4a349aa4e306ec 100644 (file)
@@ -124,7 +124,8 @@ struct fib_table *fib_get_table(struct net *net, u32 id)
        h = id & (FIB_TABLE_HASHSZ - 1);
 
        head = &net->ipv4.fib_table_hash[h];
-       hlist_for_each_entry_rcu(tb, head, tb_hlist) {
+       hlist_for_each_entry_rcu(tb, head, tb_hlist,
+                                lockdep_rtnl_is_held()) {
                if (tb->tb_id == id)
                        return tb;
        }