[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <18482.35574.277447.753735@robur.slu.se>
Date: Tue, 20 May 2008 10:25:26 +0200
From: Robert Olsson <Robert.Olsson@...a.slu.se>
To: ebiederm@...ssion.com (Eric W. Biederman)
Cc: Ben Greear <greearb@...delatech.com>,
"Denis V. Lunev" <den@...nvz.org>,
Patrick McHardy <kaber@...sh.net>,
Andrew Morton <akpm@...ux-foundation.org>,
netdev@...r.kernel.org, bugme-daemon@...zilla.kernel.org,
devzero@....de, Robert Olsson <robert.olsson@....uu.se>,
Pavel Emelyanov <xemul@...nvz.org>
Subject: Re: [Bugme-new] [Bug 10737] New: pktgen procfs problem
Eric W. Biederman writes:
> > Denis V. Lunev wrote:
> >
> >> could you consider this preliminary patch? It fixes the problem for me
> >> and Pavel agrees with it.
> >>
> Acked-by: "Eric W. Biederman" <ebiederm@...ssion.com>
> >> ------------------------------------------------------------------------
> >>
> >> diff --git a/fs/proc/inode.c b/fs/proc/inode.c
> >> index 6f4e8dc..b08d100 100644
> >> --- a/fs/proc/inode.c
> >> +++ b/fs/proc/inode.c
> >> @@ -425,7 +425,8 @@ struct inode *proc_get_inode(struct super_block *sb,
> > unsigned int ino,
> >> }
> >> }
> >> unlock_new_inode(inode);
> >> - }
> >> + } else
> >> + module_put(de->owner);
> >> return inode;
> >> out_ino:
Yes it fixes the oops I got as well.
Acked-by: Robert Olsson <robert.olsson@....uu.se>
Cheers.
--ro
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists