mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
sctp: signal sk_data_ready earlier on data chunks reception
Dave Miller pointed out thatfb586f2530("sctp: delay calls to sk_data_ready() as much as possible") may insert latency specially if the receiving application is running on another CPU and that it would be better if we signalled as early as possible. This patch thus basically inverts the logic onfb586f2530and signals it as early as possible, similar to what we had before. Fixes:fb586f2530("sctp: delay calls to sk_data_ready() as much as possible") Reported-by: Dave Miller <davem@davemloft.net> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
70e927b98b
commit
0970f5b366
3 changed files with 20 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue