diff options
author | Joe Jin <joe.jin@oracle.com> | 2015-10-19 13:37:17 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-21 07:45:39 -0700 |
commit | ca88ea1247dfee094e2467a3578eaec9bdf0833a (patch) | |
tree | 87a3ab12264ee67054f19154775f8c3bf039e742 /net/irda | |
parent | f6a835bb04ca34b6fd337eea0544a871ba2349b8 (diff) | |
download | linux-ca88ea1247dfee094e2467a3578eaec9bdf0833a.tar.gz linux-ca88ea1247dfee094e2467a3578eaec9bdf0833a.tar.bz2 linux-ca88ea1247dfee094e2467a3578eaec9bdf0833a.zip |
xen-netfront: update num_queues to real created
Sometimes xennet_create_queues() may failed to created all requested
queues, we need to update num_queues to real created to avoid NULL
pointer dereference.
Signed-off-by: Joe Jin <joe.jin@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: David S. Miller <davem@davemloft.net>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions