Thread (11 messages) flat view 11 messages, 3 authors, 2014-02-20

Re: Getting a NIC's MTU size

From: David Howells <dhowells@redhat.com>
Date: 2014-02-20 18:07:34

David Miller [off-list ref] wrote:
quoted
One further question: If I want to get the MTU size of the NIC through
which packets will go to get to a particular peer, can I do:
As has been suggested or at least hinted to by others, you have to use
the route dst's device pointer.
So I gather.  My query was intended to be about the safety of accessing the
dst->dev pointer.  Can I just dereference it?  Or do I need to take a lock or
use RCU?

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help