aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ndisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r--net/ipv6/ndisc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 482b970b835a..e08ce552d80b 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -120,8 +120,8 @@ static const struct neigh_ops ndisc_hh_ops = {
120 120
121static const struct neigh_ops ndisc_direct_ops = { 121static const struct neigh_ops ndisc_direct_ops = {
122 .family = AF_INET6, 122 .family = AF_INET6,
123 .output = dev_queue_xmit, 123 .output = neigh_direct_output,
124 .connected_output = dev_queue_xmit, 124 .connected_output = neigh_direct_output,
125}; 125};
126 126
127struct neigh_table nd_tbl = { 127struct neigh_table nd_tbl = {
@@ -386,7 +386,7 @@ static int ndisc_constructor(struct neighbour *neigh)
386 if (!dev->header_ops) { 386 if (!dev->header_ops) {
387 neigh->nud_state = NUD_NOARP; 387 neigh->nud_state = NUD_NOARP;
388 neigh->ops = &ndisc_direct_ops; 388 neigh->ops = &ndisc_direct_ops;
389 neigh->output = dev_queue_xmit; 389 neigh->output = neigh_direct_output;
390 } else { 390 } else {
391 if (is_multicast) { 391 if (is_multicast) {
392 neigh->nud_state = NUD_NOARP; 392 neigh->nud_state = NUD_NOARP;