[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpUYOLkZu9hn9+_XbMDTY5Q0aOq6qLrDt9PD0zh8kNPw1A@mail.gmail.com>
Date: Sat, 1 Feb 2020 11:21:55 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
syzbot <syzkaller@...glegroups.com>
Subject: Re: [PATCH net] cls_rsvp: fix rsvp_policy
On Fri, Jan 31, 2020 at 3:27 PM 'Eric Dumazet' via syzkaller
<syzkaller@...glegroups.com> wrote:
>
> NLA_BINARY can be confusing, since .len value represents
> the max size of the blob.
>
> cls_rsvp really wants user space to provide long enough data
> for TCA_RSVP_DST and TCA_RSVP_SRC attributes.
To clarify: for NLA_UNSPEC (0), len is the minimum length.
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Powered by blists - more mailing lists