Commit b91d31d
sctp: fix busy polling
[ Upstream commit a562c0a ]
Busy polling while holding the socket lock makes litle sense,
because incoming packets wont reach our receive queue.
Fixes: 8465a5f ("sctp: add support for busy polling to sctp protocol")
Reported-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Cc: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 9233a88 commit b91d31d
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
2104 | 2108 | | |
2105 | 2109 | | |
2106 | 2110 | | |
| |||
9041 | 9045 | | |
9042 | 9046 | | |
9043 | 9047 | | |
9044 | | - | |
9045 | | - | |
9046 | | - | |
9047 | | - | |
9048 | | - | |
9049 | | - | |
9050 | 9048 | | |
9051 | 9049 | | |
9052 | 9050 | | |
| |||
0 commit comments