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: NWolfgang Bumiller <w.bumiller@proxmox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录