summaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-16 17:39:57 -0700
committerDavid S. Miller <davem@davemloft.net>2011-07-16 17:39:57 -0700
commit47ec132a40d788d45e2f088545dea68798034dab (patch)
treef3089b58b4ef12cca150bdd4bf213d8a627a0035 /net/core/neighbour.c
parent0895b08adeb3f660cdff21990d0a9c2b59a919e7 (diff)
downloadop-kernel-dev-47ec132a40d788d45e2f088545dea68798034dab.zip
op-kernel-dev-47ec132a40d788d45e2f088545dea68798034dab.tar.gz
neigh: Kill neigh_ops->hh_output
It's always dev_queue_xmit(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/neighbour.c')
-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 83f9998..c22def5 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -746,7 +746,7 @@ static void neigh_connect(struct neighbour *neigh)
hh = &neigh->hh;
if (hh->hh_len)
- hh->hh_output = neigh->ops->hh_output;
+ hh->hh_output = dev_queue_xmit;
}
static void neigh_periodic_work(struct work_struct *work)
@@ -1222,7 +1222,7 @@ static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst)
goto end;
if (n->nud_state & NUD_CONNECTED)
- hh->hh_output = n->ops->hh_output;
+ hh->hh_output = dev_queue_xmit;
else
hh->hh_output = n->ops->output;
OpenPOWER on IntegriCloud