mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
samples: pktgen: correct dev to DEV
[ Upstream commit3342dc8b46
] In the pktgen_sample01_simple.sh script, the device variable is uppercase 'DEV' instead of lowercase 'dev'. Because of this typo, the script cannot enable UDP tx checksum. Fixes:460a9aa23d
("samples: pktgen: add UDP tx checksum support") Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Simon Horman <horms@kernel.org> Acked-by: Jesper Dangaard Brouer <hawk@kernel.org> Link: https://patch.msgid.link/20241112030347.1849335-1-wei.fang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9b2c3184e1
commit
1b13c1ca46
@ -72,7 +72,7 @@ if [ -n "$DST_PORT" ]; then
|
||||
pg_set $DEV "udp_dst_max $UDP_DST_MAX"
|
||||
fi
|
||||
|
||||
[ ! -z "$UDP_CSUM" ] && pg_set $dev "flag UDPCSUM"
|
||||
[ ! -z "$UDP_CSUM" ] && pg_set $DEV "flag UDPCSUM"
|
||||
|
||||
# Setup random UDP port src range
|
||||
pg_set $DEV "flag UDPSRC_RND"
|
||||
|
Loading…
Reference in New Issue
Block a user