]> err.no Git - linux-2.6/commit
[SCTP]: Set chunk->data_accepted only if we are going to accept it.
authorSridhar Samudrala <sri@us.ibm.com>
Fri, 21 Jul 2006 21:49:07 +0000 (14:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 21:49:07 +0000 (14:49 -0700)
commit9faa730f1cbb951e95cb18e71b0fe265014c2450
tree9474ff995e1cd8ddc6fb44974a4dde7b3d68f14b
parentad8fec1720e000ba2384de6408076a60fc92a981
[SCTP]: Set chunk->data_accepted only if we are going to accept it.

Currently there is a code path in sctp_eat_data() where it is possible
to set this flag even when we are dropping this chunk.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c