[ovs-git] [openvswitch/ovs] d5654d: odp-util: Don't attempt to write IPv6 flow label b...
noreply at github.com
Wed Sep 12 21:28:07 UTC 2018
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-09-12 (Wed, 12 Sep 2018)
odp-util: Don't attempt to write IPv6 flow label bits that don't exist.
The ipv6_label field member of struct ovs_key_ipv6 is 32 bits in size,
but an IPv6 label is only 20 bits, so the upper 12 bits are not writable
and must be 0 in the mask. The code wasn't careful about this so it could
try to write them anyway. This commit fixes the problem.
Reported-by: nm_r at directbox.com
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git