Thread (4 messages) flat view 4 messages, 2 authors, 2021-02-04

Re: [PATCH net-next] seg6: fool-proof the processing of SRv6 behavior attributes

From: David Ahern <hidden>
Date: 2021-02-04 03:01:15
Also in: lkml

On 2/3/21 7:27 PM, Andrea Mayer wrote:
I think there is an issue here because BITS_PER_TYPE(unsigned long) is greater
than the SEG6_LOCAL_MAX (currently = 9).

I think it should be like this:

 BUILD_BUG_ON(SEG6_LOCAL_MAX + 1 > BITS_PER_TYPE(unsigned long))

I will send a v2 with the changes discussed so far.
yes, I had that backwards.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help