Re: problem in do_tcp_sendpages

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

 



From: Sanjay Kumar <coolsanjay@xxxxxxxxx>
Date: Thu, 22 Dec 2005 13:32:56 +0900

> On looking at the linux source code for kernel 2.6.14 i found out that
> in the following code a call is being made to "get_page" which
> increments the page reference count, but there is no corresponding
> "put_page" or other function which decrement the page count.

It gets decremented when the SKB is freed via kfree_skb().
See net/core/skbuff.c:skb_release_data(), invoked by kfree_skbmem(),
invoked by __kfree_skb(), invoked by kfree_skb().
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux