infiniband: addr: Consolidate code to fetch neighbour hardware address from dst.
authorDavid Miller <davem@davemloft.net>
Fri, 2 Dec 2011 16:52:14 +0000 (16:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2011 20:20:19 +0000 (15:20 -0500)
commit51d45974515c35cd401f6194a6e728a2d1c3e3c6
treefba3f62f38214870f4cd5de6a0796dd72cf9fa67
parent2721745501a26d0dc3b88c0d2f3aa11471891388
infiniband: addr: Consolidate code to fetch neighbour hardware address from dst.

IPV4 should do exactly what the IPV6 code does here, which is
use the neighbour obtained via the dst entry.

And now that the two code paths do the same thing, use a common
helper function to perform the operation.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/addr.c
This page took 0.048677 seconds and 5 git commands to generate.