Bug 231079 - Running "cat /proc/net/anycast6" causes a reference leak
Running "cat /proc/net/anycast6" causes a reference leak
Status: CLOSED DUPLICATE of bug 231310
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lalancette
Martin Jenner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-05 18:09 EST by Chris Lalancette
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-07 14:18:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Simple patch to correctly "put" ipv6 device (314 bytes, patch)
2007-03-05 18:11 EST, Chris Lalancette
no flags Details | Diff

  None (edit)
Description Chris Lalancette 2007-03-05 18:09:31 EST
Description of problem:
Running "cat /proc/net/anycast6" in the current RHEL-5 current causes a
reference leak, where we do an "in6_dev_get", but never a "in6_dev_put" in
ac6_get_first().  This results in ethernet devices that cannot be removed with
rmmod, and requires a reboot to fix.  The solution is from an upstream patch here:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=aa6e4a96e7589948fe770744f7bb4f0f743dddaa

which just adds the in6_dev_put.
Comment 1 Chris Lalancette 2007-03-05 18:11:23 EST
Created attachment 149304 [details]
Simple patch to correctly "put" ipv6 device
Comment 2 Andy Gospodarek 2007-03-07 14:18:46 EST

*** This bug has been marked as a duplicate of 231310 ***

Note You need to log in before you can comment on or make changes to this bug.