commit | ea857f28ab5ca82508e70ffbc8cb296705133f01 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Aug 19 10:05:10 2013 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 20 15:12:15 2013 -0700 |
tree | 77b8faadb781bdf6253d815b12233473270add10 | |
parent | 0dde80268ee0a5a1511935bdb9c547191d616aa9 [diff] |
ipip: dereferencing an ERR_PTR in ip_tunnel_init_net() We need to move the derefernce after the IS_ERR() check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>