summaryrefslogtreecommitdiff
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2021-08-10 12:21:39 +0300
committerJakub Kicinski <kuba@kernel.org>2021-08-11 16:02:34 -0700
commit6c4110d9f499e2170fbb36723b0a5f50a8116304 (patch)
treea0d63b6b2f9283e3a623c8a71125bcb6aa5bec9c /net/core/pktgen.c
parent83f0a0b7285b299e006b0698a0ddc1ffacff3e43 (diff)
net: bridge: vlan: fix global vlan option range dumping
When global vlan options are equal sequentially we compress them in a range to save space and reduce processing time. In order to have the proper range end id we need to update range_end if the options are equal otherwise we get ranges with the same end vlan id as the start. Fixes: 743a53d9636a ("net: bridge: vlan: add support for dumping global vlan options") Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Link: https://lore.kernel.org/r/20210810092139.11700-1-razor@blackwall.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions