Re: [PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-07 Thread Willem de Bruijn
On Thu, Jun 7, 2018 at 12:22 PM, Alexander Aring wrote: > Hi, > > On Wed, Jun 06, 2018 at 04:26:19PM -0400, Willem de Bruijn wrote: >> On Wed, Jun 6, 2018 at 2:11 PM, David Miller wrote: >> > From: Alexander Aring >> > Date: Wed, 6 Jun 2018 14:09:20 -0400 >> > >> >> okay, then you want to have t

Re: [PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-07 Thread Alexander Aring
Hi, On Wed, Jun 06, 2018 at 04:26:19PM -0400, Willem de Bruijn wrote: > On Wed, Jun 6, 2018 at 2:11 PM, David Miller wrote: > > From: Alexander Aring > > Date: Wed, 6 Jun 2018 14:09:20 -0400 > > > >> okay, then you want to have this patch for net-next? As an optimization? > >> > >> Of course, wh

Re: [PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-06 Thread Willem de Bruijn
On Wed, Jun 6, 2018 at 2:11 PM, David Miller wrote: > From: Alexander Aring > Date: Wed, 6 Jun 2018 14:09:20 -0400 > >> okay, then you want to have this patch for net-next? As an optimization? >> >> Of course, when it's open again. > > Like you, I have questions about where this adjustment is app

Re: [PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-06 Thread David Miller
From: Alexander Aring Date: Wed, 6 Jun 2018 14:09:20 -0400 > okay, then you want to have this patch for net-next? As an optimization? > > Of course, when it's open again. Like you, I have questions about where this adjustment is applied and why. So I'm not sure yet. For example, only IPV6 rea

Re: [PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-06 Thread Alexander Aring
Hi, On Wed, Jun 06, 2018 at 01:53:39PM -0400, David Miller wrote: > From: Alexander Aring > Date: Tue, 5 Jun 2018 18:04:04 -0400 > > > This patch adds care about tailroom length for allocate a skb from ipv6 > > level stack. In case of 6lowpan we had the problem the skb runs into a > > skb_over_

Re: [PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-06 Thread David Miller
From: Alexander Aring Date: Tue, 5 Jun 2018 18:04:04 -0400 > This patch adds care about tailroom length for allocate a skb from ipv6 > level stack. In case of 6lowpan we had the problem the skb runs into a > skb_over_panic() in some special length cases. The root was there was no > tailroom allo

[PATCH net] net: ipv6: ip6_output: alloc skb with tailroom

2018-06-05 Thread Alexander Aring
This patch adds care about tailroom length for allocate a skb from ipv6 level stack. In case of 6lowpan we had the problem the skb runs into a skb_over_panic() in some special length cases. The root was there was no tailroom allocated for the IEEE 802.15.4 checksum, although we had the necessary ta