alistair23-linux/net/9p
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
..
client.c 9P: Get rid of REQ_STATUS_FLSH 2014-03-25 16:38:15 -05:00
error.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
Kconfig net/9p: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:33 -08:00
Makefile
mod.c 9p: Reduce object size with CONFIG_NET_9P_DEBUG 2012-01-05 10:51:44 -06:00
protocol.c 9p: Modify the stat structures to use kuid_t and kgid_t 2013-02-12 03:19:31 -08:00
protocol.h
trans_common.c 9p: fix off by one causing access violations and memory corruption 2013-07-11 11:36:02 -07:00
trans_common.h
trans_fd.c 9pnet: trans_fd : allocate struct p9_trans_fd and struct p9_conn together. 2014-03-25 16:38:17 -05:00
trans_rdma.c 9pnet_rdma: check token type before int conversion 2014-03-25 16:38:19 -05:00
trans_virtio.c 9P: Add memory barriers to protect request fields over cb/rpc threads handoff 2014-03-25 16:37:59 -05:00
util.c net/9p: convert to idr_alloc() 2013-02-27 19:10:20 -08:00