]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix comment above build_skb()
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 23 Jul 2013 19:22:39 +0000 (20:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jul 2013 00:59:07 +0000 (17:59 -0700)
commite572f7f91a7fc1ba8720048b7e45a5bdf945b567
tree1baebeda655b4bcfcb36f9da9c038932f84b7404
parentbe59faac9233f27bbaa58e25d7e1713d73840ded
net: fix comment above build_skb()

build_skb() specifies that the data parameter must come from a kmalloc'd
area, this is only true if frag_size equals 0, because then build_skb()
will use kzsize(data) to figure out the actual data size. Update the
comment to reflect that special condition.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c