]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: If fib metrics are default, no need to grab ref to FIB info.
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2011 22:07:16 +0000 (14:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2011 22:07:16 +0000 (14:07 -0800)
commita5596896311dc8bfc821bc20c08a963a921346df
tree4291d51fd921d54e3c7d52bcb6a106704d60d061
parent6939a09f7d3e13da33f66d371a4d665394c5e379
ipv4: If fib metrics are default, no need to grab ref to FIB info.

The fib metric memory in this case is static in the kernel image,
so we don't need to reference count it since it's never going
to go away on us.

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