Eric Dumazet 66ed1e5ec1 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>
2009-10-24 06:55:20 -07:00
..
2008-11-14 00:53:54 -08:00
2008-11-25 17:35:18 -08:00
2009-10-24 06:55:20 -07:00
2008-11-18 18:52:37 +11:00
2009-09-30 16:20:38 -07:00