]> Git Repo - linux.git/commit - net/sunrpc/rpcb_clnt.c
SUNRPC: remove BUG_ON from encode_rpcb_string
authorWeston Andros Adamson <[email protected]>
Tue, 23 Oct 2012 14:43:44 +0000 (10:43 -0400)
committerTrond Myklebust <[email protected]>
Sun, 4 Nov 2012 19:43:42 +0000 (14:43 -0500)
commit332e008a44d1ab6ca85b2214578f2f89af04a2fc
tree3a17b1839ba3c7e3fea88150ad5404e814bb2635
parentb8a13d039cbf7aec3b486fc0ae3996a5449afed2
SUNRPC: remove BUG_ON from encode_rpcb_string

Replace BUG_ON() with WARN_ON_ONCE() and truncate the encoded string if
len > max.

Signed-off-by: Weston Andros Adamson <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
net/sunrpc/rpcb_clnt.c
This page took 0.053017 seconds and 4 git commands to generate.