Thread (15 messages) flat view 15 messages, 4 authors, 2016-01-21

Re: Kernel memory leak in bnx2x driver with vxlan tunnel

From: Eric Dumazet <hidden>
Date: 2016-01-20 00:17:49

On Tue, 2016-01-19 at 16:00 -0800, Jesse Gross wrote:
Oh, I wasn't disagreeing that there is a problem. I was just trying to
point out the conceptual root of the problem rather than the
individual instances in different tunnels implementations.

In any case, I think we can solve this by calling
skb_release_head_state() in napi_skb_finish() and switching early
demux to use skb_valid_dst().
Yes, but it will also have to call skb_dst_drop() or risk a leak of
prior one.

So what is the purpose of having a dst if we need to drop it ?

Adding code in GRO would be fine if someone explains me the purpose of
doing apparently useless work.

(refcounting on dst is not exactly free)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help