Re: [PATCH] atm: deal with setting entry before mkip was called

From: Eric Dumazet
Date: Mon Sep 14 2015 - 13:07:46 EST


On Mon, 2015-09-14 at 13:00 -0400, Sasha Levin wrote:

> I've tried to be consistent with a similar check within clip_mkip() and
> clip_setentry():
>
> if (!vcc->push)
> return -EBADFD;
>
> So calling clip_setentry() before clip_mkip() would also give you -EBADFD.
>

Okay, but -EBADF is not the same than -EBADFD



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/