]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net sched actions: use sizeof operator for buffer length
authorRoman Mashak <mrv@mojatatu.com>
Wed, 27 Jun 2018 17:33:33 +0000 (13:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 13:12:03 +0000 (22:12 +0900)
commit6ff7586e382cb4274adefd56501d428ea39a5af3
treec4877d6372969434de29ea938a1eaeae68f74099
parent544377cd2545f33cc6cd5458301749d828adacb0
net sched actions: use sizeof operator for buffer length

Replace constant integer with sizeof() to clearly indicate
the destination buffer length in skb_header_pointer() calls.

Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_pedit.c