[DCCP]: More precisely set reset_code when sending RESET packets
commit0c10c5d96865ce611d6a780888eff0ef4fab358b
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Fri, 16 Sep 2005 23:58:33 +0000 (16 16:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2005 23:58:33 +0000 (16 16:58 -0700)
treeab1303166355b32730185445557623bec09a1dcb
parent37f7f421cce13435fdc0d870caf51141e5ebf079
[DCCP]: More precisely set reset_code when sending RESET packets

Moving the setting of DCCP_SKB_CB(skb)->dccpd_reset_code to the places
where events happen that trigger sending a RESET packet.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/input.c
net/dccp/ipv4.c