git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0015e55
)
net: add a truesize parameter to skb_add_rx_frag()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Fri, 23 Mar 2012 23:59:33 +0000
(23:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 25 Mar 2012 17:29:58 +0000
(13:29 -0400)
skb_add_rx_frag() API is misleading.
Network skbs built with this helper can use uncharged kernel memory and
eventually stress/crash machine in OOM.
Add a 'truesize' parameter and then fix drivers in followup patches.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found