diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/arp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 8a21403cdd3c..96a164aa1367 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c | |||
@@ -150,8 +150,8 @@ static const struct neigh_ops arp_hh_ops = { | |||
150 | 150 | ||
151 | static const struct neigh_ops arp_direct_ops = { | 151 | static const struct neigh_ops arp_direct_ops = { |
152 | .family = AF_INET, | 152 | .family = AF_INET, |
153 | .output = dev_queue_xmit, | 153 | .output = neigh_direct_output, |
154 | .connected_output = dev_queue_xmit, | 154 | .connected_output = neigh_direct_output, |
155 | }; | 155 | }; |
156 | 156 | ||
157 | static const struct neigh_ops arp_broken_ops = { | 157 | static const struct neigh_ops arp_broken_ops = { |
@@ -250,7 +250,7 @@ static int arp_constructor(struct neighbour *neigh) | |||
250 | if (!dev->header_ops) { | 250 | if (!dev->header_ops) { |
251 | neigh->nud_state = NUD_NOARP; | 251 | neigh->nud_state = NUD_NOARP; |
252 | neigh->ops = &arp_direct_ops; | 252 | neigh->ops = &arp_direct_ops; |
253 | neigh->output = dev_queue_xmit; | 253 | neigh->output = neigh_direct_output; |
254 | } else { | 254 | } else { |
255 | /* Good devices (checked by reading texts, but only Ethernet is | 255 | /* Good devices (checked by reading texts, but only Ethernet is |
256 | tested) | 256 | tested) |