Re: [PATCH/RFC] New module refcounting for net_proto_family

From: David S. Miller (davem@redhat.com)
Date: Tue Jan 21 2003 - 06:03:14 EST


   From: Max Krasnyansky <maxk@qualcomm.com>
   Date: Sun, 19 Jan 2003 19:22:44 -0800 (PST)
   
   The only reason to do module refcounting in sk is if protocol
   changes default callbacks (i.e. sk->data_ready, etc).

What about the reference to skb->sk? Are you sure there are
no cases where:

1) skb->sk will be non-NULL
2) default callbacks are used

?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:26 EST