]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sched: em_nbyte: don't add the data offset twice
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 18 Jan 2018 10:32:35 +0000 (11:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 19:52:40 +0000 (14:52 -0500)
commit560a66075d694e6ec24c60967b4d93d97cbb33d1
tree40797c0285b08660a2189da110ec2a18f897adb0
parent1ecdaea02ca6bfacf2ecda500dc1af51e9780c42
net: sched: em_nbyte: don't add the data offset twice

'ptr' is shifted by the offset and then validated,
the memcmp should not add it a second time.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/em_nbyte.c