]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
iproute2: initialize the ll_map only once
authorOctavian Purdila <opurdila@ixiacom.com>
Fri, 10 Dec 2010 14:59:50 +0000 (16:59 +0200)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 10 Dec 2010 19:37:57 +0000 (11:37 -0800)
commit30564237282c497649f04b20e791de420004e3a5
tree594bf0ae92c94a7de79a3d7241d5ddda295b0876
parent1e21ea71a7e12e6bd06ece8cf415e7a5f372c806
iproute2: initialize the ll_map only once

Avoid initializing the LL map (which involves a costly RTNL dump)
multiple times. This can happen when running in batch mode.

Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
lib/ll_map.c