Re: [PATCH] flower: check unused bits in MPLS fields

2017-05-02 Thread Simon Horman
On Mon, May 01, 2017 at 09:37:00PM -0400, Jamal Hadi Salim wrote: > On 17-05-01 09:58 AM, Benjamin LaHaise wrote: > >Since several of the the netlink attributes used to configure the flower > >classifier's MPLS TC, BOS and Label fields have additional bits which are > >unused, check those bits to e

Re: [PATCH] flower: check unused bits in MPLS fields

2017-05-01 Thread Jamal Hadi Salim
On 17-05-01 09:58 AM, Benjamin LaHaise wrote: Since several of the the netlink attributes used to configure the flower classifier's MPLS TC, BOS and Label fields have additional bits which are unused, check those bits to ensure that they are actually 0 as suggested by Jamal. Signed-off-by: Benja

[PATCH] flower: check unused bits in MPLS fields

2017-05-01 Thread Benjamin LaHaise
Since several of the the netlink attributes used to configure the flower classifier's MPLS TC, BOS and Label fields have additional bits which are unused, check those bits to ensure that they are actually 0 as suggested by Jamal. Signed-off-by: Benjamin LaHaise Cc: David Miller Cc: Jamal Hadi Sa