]> 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)
commit9d84186847329d86409f000f292ff5a24ed4bdc9
tree0ca7d2acb0a1b90cb4e9445220f033ea531da244
parent7a6d15e5933932674d4f969cabce5ed9e70bafa1
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