lkml.org 
[lkml]   [2020]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/1] netfilter: nat: add a range check for l3/l4 protonum
Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> Hi Will,
>
> Given this is for -stable maintainers only, I'd suggest:
>
> 1) Specify what -stable kernel versions this patch applies to.
> Explain that this problem is gone since what kernel version.
>
> 2) Maybe clarify that this is only for stable in the patch subject,
> e.g. [PATCH -stable v3] netfilter: nat: add a range check for l3/l4

Hmm, we silently accept a tuple that we can't really deal with, no?

> > + if (l3num != NFPROTO_IPV4 && l3num != NFPROTO_IPV6)
> > + return -EOPNOTSUPP;

I vote to apply this to nf.git

\
 
 \ /
  Last update: 2020-08-28 18:47    [W:0.073 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site