Simon Derr 8a5daf1e2c 9pnet_rdma: check token type before int conversion
When parsing options, make sure we have found a proper token before
doing a numeric conversion.

Without this check, the current code will end up following random
pointers that just happened to be on the stack when this function was
called, because match_token() will not touch the 'args' list unless a
valid token is found.

Signed-off-by: Simon Derr <simon.derr@bull.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2014-03-25 16:38:19 -05:00
..
2014-01-21 18:13:04 -08:00
2014-01-21 18:13:05 -08:00
2013-10-19 19:36:19 -04:00
2014-01-28 18:04:18 -08:00
2014-01-31 15:39:07 -08:00
2013-11-21 13:09:42 -05:00