[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090803.211639.93476997.davem@davemloft.net>
Date: Mon, 03 Aug 2009 21:16:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: paul.moore@...com
Cc: netdev@...r.kernel.org
Subject: Re: [RFC PATCH v1] tun: Cleanup error handling in tun_set_iff()
From: Paul Moore <paul.moore@...com>
Date: Mon, 03 Aug 2009 12:12:43 -0400
> Convert some pointless gotos into returns and ensure tun_attach() errors are
> handled correctly.
>
> Signed-off-by: Paul Moore <paul.moore@...com>
>
> --
>
> I'm sending this as an RFC patch because I'm not entirely certain that the
> changes to the tun_attach() error handling code are 100% correct, although I
> strongly suspect that the current behavor of simply returning an error code
> without any cleanup is broken. Can anyone comment on this?
It looks good to me.
But I've been wrong about this code before, so it would be nice
to get some other eyes on it :-)
--
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