mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* dst refcount is -1
@ 2017-12-19 10:56 Ortwin Glück
  2017-12-19 18:09 ` Wei Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Ortwin Glück @ 2017-12-19 10:56 UTC (permalink / raw)
  To: linux-kernel, netdev, Wei Wang

Hi,

On 4.14.6 I just got this (on a busy firewall):
[Tue Dec 19 11:15:59 2017] dst_release: dst:ffff9bb7aca0d6c0 refcnt:-1

Are you sure the refcounting is now correct?

Ortwin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dst refcount is -1
  2017-12-19 10:56 dst refcount is -1 Ortwin Glück
@ 2017-12-19 18:09 ` Wei Wang
  2017-12-19 20:02   ` Ortwin Glück
  0 siblings, 1 reply; 4+ messages in thread
From: Wei Wang @ 2017-12-19 18:09 UTC (permalink / raw)
  To: Ortwin Glück; +Cc: linux-kernel, Linux Kernel Network Developers

On Tue, Dec 19, 2017 at 2:56 AM, Ortwin Glück <odi@odi.ch> wrote:
> Hi,
>
> On 4.14.6 I just got this (on a busy firewall):
> [Tue Dec 19 11:15:59 2017] dst_release: dst:ffff9bb7aca0d6c0 refcnt:-1
>
> Are you sure the refcounting is now correct?
>
> Ortwin

Would you give more details under what circumstances it happened?
What kind of traffic is running? IPv4? IPv6? Or Both? Do you use xfrm?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dst refcount is -1
  2017-12-19 18:09 ` Wei Wang
@ 2017-12-19 20:02   ` Ortwin Glück
  2018-01-03 21:14     ` Ortwin Glück
  0 siblings, 1 reply; 4+ messages in thread
From: Ortwin Glück @ 2017-12-19 20:02 UTC (permalink / raw)
  To: Wei Wang; +Cc: linux-kernel, Linux Kernel Network Developers

On 12/19/2017 07:09 PM, Wei Wang wrote:
> Would you give more details under what circumstances it happened?

Circumstances are unknown as I can't correlate that log line to anything else. 
If I have to guess, then it has to do with ipsec events. These tunnel tend to go 
up and down a lot and there is steady traffic on most of them.

> What kind of traffic is running? IPv4? IPv6? Or Both? Do you use xfrm?

The machine has 10 IPv4 interfaces (via usb) and runs about 30 ipsec VPNs with 
total maybe 200 tunnels (xfrm). No real IPv6 traffic, just the usual link-local 
stuff that you see on any network.

Ortwin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dst refcount is -1
  2017-12-19 20:02   ` Ortwin Glück
@ 2018-01-03 21:14     ` Ortwin Glück
  0 siblings, 0 replies; 4+ messages in thread
From: Ortwin Glück @ 2018-01-03 21:14 UTC (permalink / raw)
  To: Wei Wang; +Cc: linux-kernel, Linux Kernel Network Developers

Possibly this recent patch in master fixes it:
d2950278d2 (xfrm: put policies when reusing pcpu xdst entry)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-03 21:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19 10:56 dst refcount is -1 Ortwin Glück
2017-12-19 18:09 ` Wei Wang
2017-12-19 20:02   ` Ortwin Glück
2018-01-03 21:14     ` Ortwin Glück

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®