summaryrefslogtreecommitdiff
path: root/bpf.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-02-08 08:01:51 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-02-23 13:15:50 +0100
commitf02fcdbd2cb4dc041783def773e446c179bd57f1 (patch)
tree9c1167852b94242eec1fa7aa4f03c6df31f0c04d /bpf.h
parentb14fd7ed1bdbe0644601b9f0e854af1b19811f30 (diff)
trafgen: proto: Fix bad field masking
Current logic does OR of existing field value & shift-masked specified value, which is not enough as 0s bits from the specified value will be not set (be cause of OR), so fixed it by reseting original field value by AND with reverted field mask, in otherwords - bits part of original field value is reset to 0s and only after OR-ed with specified shift-masked value. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.h')
0 files changed, 0 insertions, 0 deletions
98fd1efc7f65cab1bba6cfab7859840f9aa66&id2=05fb05a6ca25e02ad8c31bc440b3c4996864f379'>diff)
Merge tag 'kvm-arm-for-v4.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm
KVM/ARM Fixes for v4.7-rc2 Fixes for the vgic, 2 of the patches address a bug introduced in v4.6 while the rest are for the new vgic.
Diffstat (limited to 'Documentation/w1/masters')