Re: [PATCH iproute2] rttable: Fix invalid range checking when table id is converted to u32

2017-01-12 Thread Stephen Hemminger
On Tue, 10 Jan 2017 15:33:55 -0800 David Ahern wrote: > Frank reported that table ids for very large numbers are not properly > detected: > $ ip li add foobar type vrf table 98765432100123456789 > > command succeeds and resulting table id is actually: > > 21: foobar: mtu 65536 qdisc noop state

[PATCH iproute2] rttable: Fix invalid range checking when table id is converted to u32

2017-01-10 Thread David Ahern
Frank reported that table ids for very large numbers are not properly detected: $ ip li add foobar type vrf table 98765432100123456789 command succeeds and resulting table id is actually: 21: foobar: mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether da:ea:d4:77