diff options
| author | Gerrit Renker <[email protected]> | 2007-11-28 14:06:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-01-28 22:55:14 +0000 |
| commit | 3159afe0d2c1994392c269cf9dee2797830d016b (patch) | |
| tree | cae67feeee5c22c74a35a9d704e27679ac507ee2 /net/core/utils.c | |
| parent | [DCCP]: Integrate state transitions for passive-close (diff) | |
| download | kernel-3159afe0d2c1994392c269cf9dee2797830d016b.tar.gz kernel-3159afe0d2c1994392c269cf9dee2797830d016b.zip | |
[DCCP]: Remove duplicate test for CloseReq
This removes a redundant test for unexpected packet types. In dccp_rcv_state_process
it is tested twice whether a DCCP-server has received a CloseReq (Step 7):
* first in the combined if-statement,
* then in the call to dccp_rcv_closereq().
The latter is necesssary since dccp_rcv_closereq() is also called from
__dccp_rcv_established().
This patch removes the duplicate test.
Signed-off-by: Gerrit Renker <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions
