diff options
author | Jan Beulich <JBeulich@suse.com> | 2014-12-09 11:47:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 18:30:08 -0500 |
commit | f15650b7f94879667f253bc32de7431c1baf2d6e (patch) | |
tree | 6f4f05da21227b0d2cbd93694f5b6dce8ce4b413 /net/ipv6/tcp_ipv6.c | |
parent | ceaca9dc3c7e6b7bf7e4af0693df7e1c48f6ac02 (diff) | |
download | lwn-f15650b7f94879667f253bc32de7431c1baf2d6e.tar.gz lwn-f15650b7f94879667f253bc32de7431c1baf2d6e.zip |
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>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions