OSDN Git Service

s390/qeth: streamline l3_fill_header()
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Wed, 20 Dec 2017 19:11:07 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 20:23:46 +0000 (15:23 -0500)
commit910a0a8fe396441807545219d4cc093048250a98
tree325e82e1a71be141e4820ca4a0cf341c51824165
parenta843383a3e046af550cff5d33149541fcb0ea4e0
s390/qeth: streamline l3_fill_header()

Consolidate the cast type translation, move the passthru path out of
the RCU-guarded section, and use the appropriate rtable helpers when
determining the next-hop address.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c