]> git.baikalelectronics.ru Git - kernel.git/commit
net: Refactor rtable initialization
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 2 Sep 2015 20:58:34 +0000 (13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 19:01:40 +0000 (12:01 -0700)
commite2a31d77beb1c82bd07a96dd5bbf2140dc2c1bdb
tree0ca7d2acb0a1b90cb4e9445220f033ea531da244
parent9f5ea33087c63fa8681b268186c2f12aa2014a17
net: Refactor rtable initialization

All callers to rt_dst_alloc have nearly the same initialization following
a successful allocation. Consolidate it into rt_dst_alloc.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c