Re: Sock leak in net/ipv4/af_inet.c - 2.4.26

From: David S. Miller
Date: Tue May 11 2004 - 14:06:20 EST



The sk_free() should occur when the final sock_put() call brings the count
down to zero, then the socket destroy function is called and the eventual
sk_free() occurs there.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/