Re: [PATCH net 1/2] net: sched: em_nbyte: don't add the data offset twice

2018-01-24 Thread David Miller
From: Wolfgang Bumiller Date: Thu, 18 Jan 2018 11:32:35 +0100 > 'ptr' is shifted by the offset and then validated, > the memcmp should not add it a second time. > > Signed-off-by: Wolfgang Bumiller Applied.

[PATCH net 1/2] net: sched: em_nbyte: don't add the data offset twice

2018-01-18 Thread Wolfgang Bumiller
'ptr' is shifted by the offset and then validated, the memcmp should not add it a second time. Signed-off-by: Wolfgang Bumiller --- net/sched/em_nbyte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sched/em_nbyte.c b/net/sched/em_nbyte.c index df3110d69585..07c10bac06a