[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7MW-kP0uO2+00+pbx1y=LQynLWy9diznccY69+8nZ5mwQ@mail.gmail.com>
Date: Fri, 24 Oct 2014 17:57:59 -0700
From: Cong Wang <cwang@...pensource.com>
To: Patrick McHardy <kaber@...sh.net>
Cc: John Fastabend <john.fastabend@...il.com>,
Wang Bo <wang.bo116@....com.cn>,
David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>, cui.yunfeng@....com.cn
Subject: Re: [PATCH net] net/sched: Fix use of wild pointer in mq_destroy()
when qdisc_alloc fail
On Fri, Oct 24, 2014 at 5:33 PM, Patrick McHardy <kaber@...sh.net> wrote:
>
> Its about having a sane API.
I don't see why calling ->destroy() on failure is not sane in qdisc case.
I never want to argue general case.
--
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