diff options
Diffstat (limited to 'net/ipv6/ndisc.c')
| -rw-r--r-- | net/ipv6/ndisc.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 482b970b835..e08ce552d80 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -120,8 +120,8 @@ static const struct neigh_ops ndisc_hh_ops = {  static const struct neigh_ops ndisc_direct_ops = {  	.family =		AF_INET6, -	.output =		dev_queue_xmit, -	.connected_output =	dev_queue_xmit, +	.output =		neigh_direct_output, +	.connected_output =	neigh_direct_output,  };  struct neigh_table nd_tbl = { @@ -386,7 +386,7 @@ static int ndisc_constructor(struct neighbour *neigh)  	if (!dev->header_ops) {  		neigh->nud_state = NUD_NOARP;  		neigh->ops = &ndisc_direct_ops; -		neigh->output = dev_queue_xmit; +		neigh->output = neigh_direct_output;  	} else {  		if (is_multicast) {  			neigh->nud_state = NUD_NOARP;  |