commit | 2e50326c44c802ca9b9d591341085e49208927be | [log] [tgz] |
---|---|---|
author | Pierre Riteau <Pierre.Riteau@irisa.fr> | Wed Nov 25 18:49:35 2009 +0000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Dec 03 09:41:35 2009 -0600 |
tree | 24b82990a051e7552f02b07dcc4bcd8d85650d4b | |
parent | 6720b35b8186e9c6a9f137c02f8c2c1e7c98085f [diff] |
net: check for TUNSETOFFLOAD support before trying to enable offload features This avoids the "TUNSETOFFLOAD ioctl() failed: Invalid argument" message on kernels without TUNSETOFFLOAD support. Signed-off-by: Pierre Riteau <Pierre.Riteau@irisa.fr> Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>