Re: [PATCH net] cls_rsvp: fix rsvp_policy
From: Cong Wang <hidden>
Date: 2020-02-01 19:22:09
From: Cong Wang <hidden>
Date: 2020-02-01 19:22:09
On Fri, Jan 31, 2020 at 3:27 PM 'Eric Dumazet' via syzkaller [off-list ref] 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 <redacted>