commit | 87e57399e9d3606b08b0e1b2dd0f4aaa1d8ba365 | [log] [tgz] |
---|---|---|
author | Thadeu Lima de Souza Cascardo <cascardo@redhat.com> | Mon Jan 25 11:29:19 2016 -0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 25 10:51:53 2016 -0800 |
tree | cb0abe5c09f2bc984a1f0561319bc4468c36a689 | |
parent | 05f3b50ea81d7af5479b55147ef98f8bbcd4a8b9 [diff] |
sit: set rtnl_link_ops before calling register_netdevice When creating a SIT tunnel with ip tunnel, rtnl_link_ops is not set before ipip6_tunnel_create is called. When register_netdevice is called, there is no linkinfo attribute in the NEWLINK message because of that. Setting rtnl_link_ops before calling register_netdevice fixes that. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>