aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
Diffstat (limited to 'net/core')
-rw-r--r--net/core/pktgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index d18fdb102360..eebccdbdbaca 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -2266,7 +2266,7 @@ static void mod_cur_headers(struct pktgen_dev *pkt_dev)
2266 2266
2267 while (ipv4_is_loopback(s) || 2267 while (ipv4_is_loopback(s) ||
2268 ipv4_is_multicast(s) || 2268 ipv4_is_multicast(s) ||
2269 ipv4_is_badclass(s) || 2269 ipv4_is_lbcast(s) ||
2270 ipv4_is_zeronet(s) || 2270 ipv4_is_zeronet(s) ||
2271 ipv4_is_local_multicast(s)) { 2271 ipv4_is_local_multicast(s)) {
2272 t = random32() % (imx - imn) + imn; 2272 t = random32() % (imx - imn) + imn;