[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADAe=+Lmp=e3NRH5NOYewJp=XZ0CncPzC-4V=Ct-TEuGjfq3nw@mail.gmail.com>
Date: Thu, 17 Nov 2011 10:30:59 +0530
From: Ajith Adapa <adapa.ajith@...il.com>
To: netdev@...r.kernel.org
Subject: Regarding Routing cache
Hi,
I have a small doubt regarding routing cache in linux kernel.
It seems ip_route_connect is the way we have to access routing cache
entries. In case of all locally generated packets I see that struct
dst_entry is filled up with a lookup in routing cache.
What about in case of forwarding packets ? I dont see any usage of
routing cache mechanism to fill up the struct dst_entry. So it seems
we directly check the fib_rules or fib table to fill the structure.
If it is true then it would be very slow right ?
Sorry if I am wrong about above findings. Do correct me if I am wrong about it ?
Regards,
Ajith
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists