Search Linux Wireless

Re: Netlink Memory Leak Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-12-16 at 11:01 +0530, Saurabh8 Jain wrote:
> Hi,
> 
> I would like to know the memory usage that happens between user space
> and kernel space communication. Communication happens via generic
> netlink library and we need to register doit and dump functions.

Yes.

> I was going through function "nl80211_set_mesh_params" in
> "net/wireless/nl80211.c" which receives values of mesh parameters. In
> this function skb is passed but it is never used and the skb is not
> freed. I saw other functions also which receives messages from user
> space but no memory is released for skb.

> Where is this memory getting free? Do I need to free this memory?

Look at net/netlink/ -- we don't need to handle that.

> When I executed iw commands to set few values in loop.  I saw there is
> drop in free memory of "top" command. I am working on
> compatwireless-2010-06-27.

You're seriously taking "top" for a measurement? That's like the worst
possible way to measure memory usage.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux