cxgb3: Rework t3_l2t_get to take a dst_entry instead of a neighbour.
authorDavid Miller <davem@davemloft.net>
Fri, 2 Dec 2011 16:52:18 +0000 (16:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2011 20:20:19 +0000 (15:20 -0500)
commita4757123aeadf450b5b3c5f51f214660e20477f3
tree075d43113136926357be2863b2efb3b6a099e553
parent51d45974515c35cd401f6194a6e728a2d1c3e3c6
cxgb3: Rework t3_l2t_get to take a dst_entry instead of a neighbour.

This way we consolidate the RCU locking down into the place where it
actually matters, and also we can make the code handle
dst_get_neighbour_noref() returning NULL properly.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
drivers/net/ethernet/chelsio/cxgb3/l2t.c
drivers/net/ethernet/chelsio/cxgb3/l2t.h
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c