diff options
| author | Daniel Borkmann <[email protected]> | 2013-09-03 16:24:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-09-04 04:27:28 +0000 |
| commit | cc8c6c1b21c9b1e0f1e89428c07c7c52435cba0c (patch) | |
| tree | 27f65c0861fc098f030f4411f20a32e17a2cb83a /net/ipv6/tcp_ipv6.c | |
| parent | qlcnic: remove a stray semicolon (diff) | |
| download | kernel-cc8c6c1b21c9b1e0f1e89428c07c7c52435cba0c.tar.gz kernel-cc8c6c1b21c9b1e0f1e89428c07c7c52435cba0c.zip | |
net: tcp_probe: adapt tbuf size for recent changes
With recent changes in tcp_probe module (e.g. f925d0a62d ("net: tcp_probe:
add IPv6 support")) we also need to take into account that tbuf needs to
be updated as format string will be further expanded. tbuf sits on the stack
in tcpprobe_read() function that is invoked when user space reads procfs
file /proc/net/tcpprobe, hence not fast path as in jtcp_rcv_established().
Having a size similarly as in sctp_probe module of 256 bytes is fully
sufficient for that, we need theoretical maximum of 252 bytes otherwise we
could get truncated.
Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
