Re: [PATCH] ah: Don't return NET_XMIT_DROP on input.

From: David Miller
Date: Sat Nov 12 2011 - 18:14:32 EST


From: Nick Bowler <nbowler@xxxxxxxxxxxxxxxx>
Date: Thu, 10 Nov 2011 14:01:27 -0500

> When the ahash driver returns -EBUSY, AH4/6 input functions return
> NET_XMIT_DROP, presumably copied from the output code path. But
> returning transmit codes on input doesn't make a lot of sense.
> Since NET_XMIT_DROP is a positive int, this gets interpreted as
> the next header type (i.e., success). As that can only end badly,
> remove the check.
>
> Signed-off-by: Nick Bowler <nbowler@xxxxxxxxxxxxxxxx>

Applied and queued up for -stable, thanks Nick.
--
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/