commit | f15650b7f94879667f253bc32de7431c1baf2d6e | [log] [tgz] |
---|---|---|
author | Jan Beulich <JBeulich@suse.com> | Tue Dec 09 11:47:04 2014 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 09 18:30:08 2014 -0500 |
tree | 6f4f05da21227b0d2cbd93694f5b6dce8ce4b413 | |
parent | ceaca9dc3c7e6b7bf7e4af0693df7e1c48f6ac02 [diff] |
netback: don't store invalid vif pointer When xenvif_alloc() fails, it returns a non-NULL error indicator. To avoid eventual races, we shouldn't store that into struct backend_info as readers of it only check for NULL. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>