summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-16 18:06:24 -0700
committerDavid S. Miller <davem@davemloft.net>2011-07-16 18:30:59 -0700
commit542d4d685febf3110d1a08d0bcb9f6ef060b76f7 (patch)
tree8bfb9b8c8f7e8d359030781367634269f843d3e3 /net/core
parentb23b5455b6458920179a1f27513ce42e70d11f37 (diff)
downloadop-kernel-dev-542d4d685febf3110d1a08d0bcb9f6ef060b76f7.zip
op-kernel-dev-542d4d685febf3110d1a08d0bcb9f6ef060b76f7.tar.gz
neigh: Kill ndisc_ops->queue_xmit
It is always dev_queue_xmit(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/neighbour.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 2feda6e7..b031cf6 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -1257,7 +1257,7 @@ int neigh_resolve_output(struct sk_buff *skb)
} while (read_seqretry(&neigh->ha_lock, seq));
if (err >= 0)
- rc = neigh->ops->queue_xmit(skb);
+ rc = dev_queue_xmit(skb);
else
goto out_kfree_skb;
}
@@ -1292,7 +1292,7 @@ int neigh_connected_output(struct sk_buff *skb)
} while (read_seqretry(&neigh->ha_lock, seq));
if (err >= 0)
- err = neigh->ops->queue_xmit(skb);
+ err = dev_queue_xmit(skb);
else {
err = -EINVAL;
kfree_skb(skb);
OpenPOWER on IntegriCloud