Skip to content
Snippets Groups Projects
Commit 8da645e1 authored by Vlad Yasevich's avatar Vlad Yasevich
Browse files

sctp: Get rid of an extra routing lookup when adding a transport.


We used to perform 2 routing lookups for a new transport: one
just for path mtu detection, and one to actually route to destination
and path mtu update when sending a packet.  There is no point in doing
both of them, especially since the first one just for path mtu doesn't
take into account source address and sometimes gives the wrong route,
causing path mtu updates anyway.

We now do just the one call to do both route to destination and get
path mtu updates.

Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
parent a803c942
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment