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

David S. Miller (davem@redhat.com)
Tue, 21 Jan 2003 03:03:14 -0800 (PST)


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/