pktgen: set different default min_pkt_size for different protocols
authorAmerigo Wang <amwang@redhat.com>
Tue, 9 Oct 2012 17:48:17 +0000 (17:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 02:33:30 +0000 (22:33 -0400)
commit68bf9f0b91ed4440951312cf7d4ffa70b9e8cf73
tree7cadb1cdf9994926cd8c573bdc63b619b256178d
parent5aa8b572007c4bca1e6d3dd4c4820f1ae49d6bb2
pktgen: set different default min_pkt_size for different protocols

ETH_ZLEN is too small for IPv6, so this default value is not
suitable.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c