Bug 231079

Summary: Running "cat /proc/net/anycast6" causes a reference leak
Product: Red Hat Enterprise Linux 5 Reporter: Chris Lalancette <clalance>
Component: kernelAssignee: Chris Lalancette <clalance>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-07 19:18:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Simple patch to correctly "put" ipv6 device none

Description Chris Lalancette 2007-03-05 23:09:31 UTC
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 23:11:23 UTC
Created attachment 149304 [details]
Simple patch to correctly "put" ipv6 device

Comment 2 Andy Gospodarek 2007-03-07 19:18:46 UTC

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