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:
62e20a6
)
pktgen: Dont leak kernel memory
author
Eric Dumazet
<eric.dumazet@gmail.com>
Sat, 24 Oct 2009 13:55:20 +0000
(06:55 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 24 Oct 2009 13:55:20 +0000
(06:55 -0700)
While playing with pktgen, I realized IP ID was not filled and a
random value was taken, possibly leaking 2 bytes of kernel memory.
We can use an increasing ID, this can help diagnostics anyway.
Also clear packet payload, instead of leaking kernel memory.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found