]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf0e9ce22ff885eb83ccb516639ae7b2447568f1
treefba3f62f38214870f4cd5de6a0796dd72cf9fa67
parent4306b6f6166ed16dbdf42d97c6d846992d1b8cbb
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