summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_udp_tunnel.c
diff options
context:
space:
mode:
authorGuilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>2016-11-03 11:16:20 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-03 21:25:37 +0100
commit29ab5a3b94c87382da06db88e96119911d557293 (patch)
treeee5367a19ef5776c7b578f7f874b7772b250c942 /net/ipv6/ip6_udp_tunnel.c
parentipv6: dccp: fix out of bound access in dccp_v6_err() (diff)
downloadlinux-29ab5a3b94c87382da06db88e96119911d557293.tar.xz
linux-29ab5a3b94c87382da06db88e96119911d557293.zip
ehea: fix operation state report
Currently the ehea driver is missing a call to netif_carrier_off() before the interface bring-up; this is necessary in order to initialize the __LINK_STATE_NOCARRIER bit in the net_device state field. Otherwise, we observe state UNKNOWN on "ip address" command output. This patch adds a call to netif_carrier_off() on ehea's net device open callback. Reported-by: Xiong Zhou <zhou@redhat.com> Reference-ID: IBM bz #137702, Red Hat bz #1089134 Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com> Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_udp_tunnel.c')
0 files changed, 0 insertions, 0 deletions