diff options
author | amit salecha <amit.salecha@qlogic.com> | 2011-04-22 18:22:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-29 20:37:35 +0200 |
commit | 7d36a991e8d36b8ae87e2aa1158d3735e656253b (patch) | |
tree | 7ed43c33f2142dcf024595ab7c087cacf892ed75 /net/ipv6/ndisc.c | |
parent | bpf: depends on MODULES (diff) | |
download | linux-7d36a991e8d36b8ae87e2aa1158d3735e656253b.tar.xz linux-7d36a991e8d36b8ae87e2aa1158d3735e656253b.zip |
pktgen: create num frags requested
Pktgen doesn't generate number of frags requested.
Divide packet size by number of frags and fill that in every frags.
Example:
With packet size 1470, it generate only 11 frags. Initial frags
get lenght 706, 353, 177....so on. Last frag get divided by 2.
Now with this fix, each frags will get 78 bytes.
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
0 files changed, 0 insertions, 0 deletions