| commit | e892d2d40445a14a19530a2be8c489b87bcd7c19 | [log] [tgz] | 
|---|---|---|
| author | Steffen Klassert <steffen.klassert@secunet.com> | Mon Apr 24 07:33:56 2017 +0200 | 
| committer | Steffen Klassert <steffen.klassert@secunet.com> | Mon Apr 24 07:56:31 2017 +0200 | 
| tree | b5f7838680af98f0905bab60a39cad722e63e61b | |
| parent | e2989ee9746b3f2e78d1a39bbc402d884e8b8bf1 [diff] | 
esp: Fix misplaced spin_unlock_bh.
A recent commit moved esp_alloc_tmp() out of a lock
protected region, but forgot to remove the unlock from
the error path. This patch removes the forgotten unlock.
While at it, remove some unneeded error assignments too.
Fixes: fca11ebde3f0 ("esp4: Reorganize esp_output")
Fixes: 383d0350f2cc ("esp6: Reorganize esp_output")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>