diff options
author | Nick Bowler <nbowler@elliptictech.com> | 2011-11-10 09:01:27 +0000 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-09 18:20:28 -0800 |
commit | 84a4439801e1b6ba9289b893fe083c996d34cc70 (patch) | |
tree | 03953df60fdb882977d8818aadabd23068202c45 /Kconfig | |
parent | 980a19ee30dcddc454e8089866b0baa4c9e1611c (diff) |
ah: Don't return NET_XMIT_DROP on input.
commit 4b90a603a1b21d63cf743cc833680cb195a729f6 upstream.
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@elliptictech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Ia5db571c5c73a87397fa10dfb668f85b7942f3b0
Reviewed-on: http://git-master/r/79659
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions