Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-04-03 Thread David Miller
From: "R. Parameswaran" Date: Mon, 3 Apr 2017 19:12:20 -0700 (PDT) > > > Hi Dave, > > Please see inline: > > On Mon, 3 Apr 2017, David Miller wrote: > >> From: "R. Parameswaran" >> Date: Mon, 3 Apr 2017 13:28:11 -0700 (PDT) >> >> > Can

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-04-03 Thread R. Parameswaran
Hi Dave, Please see inline: On Mon, 3 Apr 2017, David Miller wrote: > From: "R. Parameswaran" > 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

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-04-03 Thread David Miller
From: "R. Parameswaran" 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

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-04-03 Thread R. Parameswaran
Hi James, Dave, Sorry for the delay (was away), please see inline: On Fri, 24 Mar 2017, James Chapman wrote: > On 24/03/17 01:51, R. Parameswaran wrote: > > Hi Dave, > > > > Please see inline: > > > > On Thu, 23 Mar 2017, David Miller wrote: > > > >> From: "R. Parameswaran"

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-24 Thread James Chapman
On 24/03/17 01:51, R. Parameswaran wrote: > Hi Dave, > > Please see inline: > > On Thu, 23 Mar 2017, David Miller wrote: > >> From: "R. Parameswaran" >> Date: Wed, 22 Mar 2017 15:59:13 -0700 (PDT) >> >>> A new function, kernel_sock_ip_overhead(), is provided >>> to

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-23 Thread R. Parameswaran
Hi Dave, Please see inline: On Thu, 23 Mar 2017, David Miller wrote: > From: "R. Parameswaran" > Date: Wed, 22 Mar 2017 15:59:13 -0700 (PDT) > > > A new function, kernel_sock_ip_overhead(), is provided > > to calculate the cumulative overhead imposed by the IP > >

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-23 Thread kbuild test robot
Hi Parameswaran, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/R-Parameswaran/New-kernel-function-to-get-IP-overhead-on-a-socket/20170324-065003 config: x86_64-randconfig-s1-03240701 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-23 Thread David Miller
From: "R. Parameswaran" Date: Wed, 22 Mar 2017 15:59:13 -0700 (PDT) > A new function, kernel_sock_ip_overhead(), is provided > to calculate the cumulative overhead imposed by the IP > Header and IP options, if any, on a socket's payload. > The new function returns an

[PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-22 Thread R. Parameswaran
A new function, kernel_sock_ip_overhead(), is provided to calculate the cumulative overhead imposed by the IP Header and IP options, if any, on a socket's payload. The new function returns an overhead of zero for sockets that do not belong to the IPv4 or IPv6 address families. This is used in the

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-22 Thread Tom Herbert
On Wed, Mar 22, 2017 at 3:59 PM, R. Parameswaran wrote: > > A new function, kernel_sock_ip_overhead(), is provided > to calculate the cumulative overhead imposed by the IP > Header and IP options, if any, on a socket's payload. > The new function returns an overhead of

[PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-22 Thread R. Parameswaran
A new function, kernel_sock_ip_overhead(), is provided to calculate the cumulative overhead imposed by the IP Header and IP options, if any, on a socket's payload. The new function returns an overhead of zero for sockets that do not belong to the IPv4 or IPv6 address families. Signed-off-by: R.