diff options
author | 2009-10-24 06:55:20 -0700 | |
---|---|---|
committer | 2009-10-24 06:55:20 -0700 | |
commit | 66ed1e5ec1d979e572554643063734a7664261bb (patch) | |
tree | ebe8b3f132b4191d1f1c663e75f93e778db0cd6c /lib/dma-debug.c | |
parent | DM9000: Fix revision ID for DM9000B (diff) | |
download | linux-dev-66ed1e5ec1d979e572554643063734a7664261bb.tar.xz linux-dev-66ed1e5ec1d979e572554643063734a7664261bb.zip |
pktgen: Dont leak kernel memory
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions