IB/rxe: clean skb queue directly
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 19 Oct 2018 08:53:00 +0000 (04:53 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 6 Nov 2018 21:03:14 +0000 (16:03 -0500)
commit4e588c8d034dacaefc247a1c7af50b345c60a3dd
tree0b8a9973698597e7c07de3b1706cc2bb61b57af6
parent6d10550c84f51cb7c449c51d1a6fd31185a6ba6c
IB/rxe: clean skb queue directly

When resp is in error state, the queued SKBs will not be handled.
The function get_req cleans up the skb queue directly.

CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_resp.c