SUNRPC: remove BUG_ON in svc_xprt_received
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:40 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:41 +0000 (14:43 -0500)
commitff1fdb9b805fc03fb51c7b061604360af92d0c9e
tree00d4cab63ed27a3523fc9c458ad61ec0a51ed3c8
parent1b7a1819078c68c4df4bba90f76b8113a08460de
SUNRPC: remove BUG_ON in svc_xprt_received

Replace BUG_ON() with a WARN_ON_ONCE() and early return.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svc_xprt.c