summaryrefslogtreecommitdiff
path: root/bpf.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-15 00:59:59 +0300
committerTobias Klauser <tklauser@distanz.ch>2018-05-15 09:05:52 +0200
commitf6d450a5e4054b7ac17b73fb5081a55479c327d6 (patch)
treed41ff0e69179a89bf8623a8287cf6bb7edea9f45 /bpf.c
parentc44813eb1a7546f77b00ae9d1702d8f5c47b7d40 (diff)
mausezahn: Fix IPv6 address comparison
CMP_INT evaluates its arguments more than once, and thus passing a post-incremented pointer as an argument causes double increments and hence buffer overruns. This can be observed by erratic behavior of IPv6 address ranges. Fix by moving the increment to loop header. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.c')
0 files changed, 0 insertions, 0 deletions
t - fix bar discovery for c62x
Some accelerators of the c62x series have only two bars. This patch skips BAR0 if the accelerator does not have it. Cc: <stable@vger.kernel.org> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'sound/soc/codecs/wm8991.h')