Fwd: Memory leak in socket operations.
From: Upakul Barkakaty
Date: Wed Sep 03 2008 - 07:08:37 EST
Hi all,
I am creating udp sockets to receive packets but i dont call any
recv() so the packets must be lying in the udp queue. Now when I close
the socket and open a new socket (with reuseaddr sockopt) then it
results in memory leaks.
My question is that when closing or shutting down the sockets, isnt
the udp queue cleared up? Secondly is there any way to forcefully
clear up the memory related to a socket??
Thanks in anticipation!!
--
Regards,
Upakul Barkakaty
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html