mbox series

[v2,net,0/2] nbyte, cmp and text filter fixups

Message ID 20180122105342.15182-1-w.bumiller@proxmox.com
Headers show
Series nbyte, cmp and text filter fixups | expand

Message

Wolfgang Bumiller Jan. 22, 2018, 10:53 a.m. UTC
Changes:
  * Fixed up commit message
  * Removed not really related iproute2 patch from this thread.

This fixes an oob read in em_nbyte and allows 'layer 0' in cmp and
nbyte and em_text to actually match layer 0 rather than being the same
as specifying layer 1.

Wolfgang Bumiller (2):
  net: sched: em_nbyte: don't add the data offset twice
  net: sched: fix TCF_LAYER_LINK case in tcf_get_base_ptr

 include/net/pkt_cls.h | 2 +-
 net/sched/em_nbyte.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Cong Wang Jan. 22, 2018, 10:40 p.m. UTC | #1
On Mon, Jan 22, 2018 at 2:53 AM, Wolfgang Bumiller
<w.bumiller@proxmox.com> wrote:
> Changes:
>   * Fixed up commit message
>   * Removed not really related iproute2 patch from this thread.
>
> This fixes an oob read in em_nbyte and allows 'layer 0' in cmp and
> nbyte and em_text to actually match layer 0 rather than being the same
> as specifying layer 1.
>


Acked-by: Cong Wang <xiyou.wangcong@gmail.com>