aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2021-10-25 11:26:57 +0800
committerPaul E. McKenney <[email protected]>2021-11-30 17:29:50 -0800
commit9880eb878c315b241002d43d7ff89df23713a51b (patch)
tree7fff07967678053f4d34ebb63ff1bba9d85ccf37 /net/lapb/lapb_in.c
parentc30c876312f66b0422a1d632b8c45b6416deeec0 (diff)
refscale: Prevent buffer to pr_alert() being too long
0Day/LKP observed that the refscale results fail to complete when larger values of nrun (such as 300) are specified. The problem is that printk() can accept at most a 1024-byte buffer. This commit therefore prints the buffer whenever its length exceeds 800 bytes. CC: Philip Li <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions