]> git.baikalelectronics.ru Git - kernel.git/commit
sit: fix an oops when IFLA_IPTUN_PROTO is not set
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 19 Jun 2013 10:03:13 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 04:18:17 +0000 (21:18 -0700)
commit030a292fe80baeadf650ac5a85dcfe1f164ba6ba
tree802962ed34c3b2d5e6268e90c18cf9dbf50466bf
parent074a7cfe7259ed9b93f565387779eefa13515c89
sit: fix an oops when IFLA_IPTUN_PROTO is not set

The use of this attribute has been added in 0fa61b32cf14 (sit: add IPv4 over
IPv4 support). It is optional, by default proto is IPPROTO_IPV6.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c