summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-10-23 14:43:42 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 19:43:42 (GMT)
commit18e624ad0374f3b1092530f978301611f88e45b3 (patch)
tree16f0c87a18a598289acfa5c59ab7e3b8c4308759 /net/sunrpc/xprtsock.c
parentb25cd058f25ea2054351bbe501956002cd8ed4c5 (diff)
downloadlinux-fsl-qoriq-18e624ad0374f3b1092530f978301611f88e45b3.tar.xz
SUNRPC: remove BUG_ON in xdr_shrink_bufhead
Replace bounds checking BUG_ON() with a WARN_ON_ONCE() and resetting the requested len to the max. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions