commit | 51d45974515c35cd401f6194a6e728a2d1c3e3c6 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Fri Dec 02 16:52:14 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 05 15:20:19 2011 -0500 |
tree | fba3f62f38214870f4cd5de6a0796dd72cf9fa67 | |
parent | 2721745501a26d0dc3b88c0d2f3aa11471891388 [diff] |
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>