[Bug 233535] Fix refcount leak in IPv6 MLD code leading to loss of IPv6 connectivity

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 15 06:07:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233535

--- Comment #34 from Andrey V. Elsukov <ae at FreeBSD.org> ---
(In reply to Hans Petter Selasky from comment #32)
> Created attachment 201125 [details]
> Fix MLD refcounting in IPv6 code.
> 
> Hi,
> 
> I found one more refcount leak, namely when starting and stopping rpcbind .
> 
> Please test new patch!

# while true; do                                                               
                                                                               
       ifconfig re0 inet6 fc00::1                                              
                                                                               
              sleep 3                                                          
                                                                               
                     vmstat -m | grep multi                                    
                                                                               
                            done
  ether_multi    65     5K       -      135  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    35     6K       -       73  32,256
  ether_multi    68     6K       -      150  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    36     6K       -       81  32,256
  ether_multi    71     6K       -      165  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    37     6K       -       89  32,256
  ether_multi    74     6K       -      180  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    38     6K       -       97  32,256
  ether_multi    79     6K       -      195  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    40     7K       -      105  32,256
  ether_multi    75     6K       -      210  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    38     7K       -      113  32,256
  ether_multi    81     7K       -      225  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    40     7K       -      121  32,256
  ether_multi    91     7K       -      240  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    44     8K       -      129  32,256
  ether_multi    91     7K       -      255  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    44     8K       -      137  32,256
  ether_multi    91     7K       -      270  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    44     8K       -      145  32,256
  ether_multi    89     7K       -      285  16,32,64,128
     in_multi     2     1K       -        3  256
    in6_multi    43     8K       -      153  32,256
^C

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list