]> git.baikalelectronics.ru Git - kernel.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)
commitc211041ad530791800c343937988644d50231ef7
tree40797c0285b08660a2189da110ec2a18f897adb0
parentbea36acaeca28fc52b92801fbf354751c880808e
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