lkml.org 
[lkml]   [2017]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.
From
From: "R. Parameswaran" <parameswaran.r7@gmail.com>
Date: Mon, 3 Apr 2017 13:28:11 -0700 (PDT)

> Can I take this to mean that we do need to factor in IP options in
> the L2TP device MTU setup (i.e approach in the posted patch is okay)?
>
> If yes, please let me know if I can keep the socket IP option overhead
> calculations in a generic function, or it would be better to move it back into
> L2TP code?

If the user creates and maintains this UDP socket, then yes we have to
account for potential IP options.

\
 
 \ /
  Last update: 2017-04-03 22:31    [W:0.269 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site