Re: [PATCH 1/2] xfrm6: call kfree_skb when skb is toobig

2018-08-31 Thread Steffen Klassert
On Thu, Aug 30, 2018 at 03:23:11PM +0200, Sabrina Dubroca wrote: > 2018-08-30, 09:58:16 -0300, Thadeu Lima de Souza Cascardo wrote: > > After commit d6990976af7c5d8f55903bfb4289b6fb030bf754 ("vti6: fix PMTU > > caching > > and reporting on xmit"), some too big skbs might be potentially passed

Re: [PATCH 1/2] xfrm6: call kfree_skb when skb is toobig

2018-08-30 Thread Sabrina Dubroca
2018-08-30, 09:58:16 -0300, Thadeu Lima de Souza Cascardo wrote: > After commit d6990976af7c5d8f55903bfb4289b6fb030bf754 ("vti6: fix PMTU caching > and reporting on xmit"), some too big skbs might be potentially passed down to > __xfrm6_output, causing it to fail to transmit but not free the skb,

[PATCH 1/2] xfrm6: call kfree_skb when skb is toobig

2018-08-30 Thread Thadeu Lima de Souza Cascardo
After commit d6990976af7c5d8f55903bfb4289b6fb030bf754 ("vti6: fix PMTU caching and reporting on xmit"), some too big skbs might be potentially passed down to __xfrm6_output, causing it to fail to transmit but not free the skb, causing a leak of skb, and consequentially a leak of dst references.