diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-12-03 12:13:58 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-01-06 13:59:54 +0100 |
commit | 72237d47c78ab849c55c6cc0211315db1f1f324b (patch) | |
tree | fc2640a4991b85bce2c750c12b479e364887fb5a /fs/quota/quota_v1.c | |
parent | 2ffe53f9735a9fb7be8a2a1f78487db8bd603f53 (diff) |
net: sctp: use MAX_HEADER for headroom reserve in output path
[ Upstream commit 9772b54c55266ce80c639a80aa68eeb908f8ecf5 ]
To accomodate for enough headroom for tunnels, use MAX_HEADER instead
of LL_MAX_HEADER. Robert reported that he has hit after roughly 40hrs
of trinity an skb_under_panic() via SCTP output path (see reference).
I couldn't reproduce it from here, but not using MAX_HEADER as elsewhere
in other protocols might be one possible cause for this.
In any case, it looks like accounting on chunks themself seems to look
good as the skb already passed the SCTP output path and did not hit
any skb_over_panic(). Given tunneling was enabled in his .config, the
headroom would have been expanded by MAX_HEADER in this case.
Reported-by: Robert Święcki <robert@swiecki.net>
Reference: https://lkml.org/lkml/2014/12/1/507
Fixes: 594ccc14dfe4d ("[SCTP] Replace incorrect use of dev_alloc_skb with alloc_skb in sctp_packet_transmit().")
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs/quota/quota_v1.c')
0 files changed, 0 insertions, 0 deletions