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

David S. Miller
2003-01-21T11:04:57Z

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

?