Thread (4 messages) flat view 4 messages, 2 authors, 2012-07-17

Re: timer expiry check at icmp.c in ipv6

From: Eric Dumazet <hidden>
Date: 2012-07-16 14:33:41

On Mon, 2012-07-16 at 13:44 +0000, BALAKUMARAN KANNAN wrote:
Dear all,

In kernel-3.0.26 code net/ipv6/icmp.c, while sending ICMP reply where
it checks for the timer expiry. It should check the value given by a
router advertisement. I think the expiry value is stored in
rt->rt6_expires in ndisc.c (line no: 1284). Then while sending an ICMP
reply, it should check with the expiry timer right? Where that check
is happening? Please somebody explain me.

Thank you.
Its probably done in net/ipv6/ip6_fib.c

fib6_gc_timer_cb() -> fib6_run_gc()

Every 30 seconds.

(you can change /proc/sys/net/ipv6/route/gc_interval )
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help