]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: Preference list reconciliation
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 2 Dec 2008 07:31:04 +0000 (23:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Dec 2008 07:31:04 +0000 (23:31 -0800)
commit2d6b1fe5440f90d5a0a59b4155bd341215ce90ea
tree768c07adad4a6f42723acfeada434c045f36a489
parentaed47b8da89a19b52826333771bdf3b866f1c2c8
dccp: Preference list reconciliation

This provides two functions to
 * reconcile preference lists (with appropriate return codes) and
 * reorder the preference list if successful reconciliation changed the
   preferred value.

The patch also removes the old code for processing SP/NN Change options, since
new code to process these is mostly there already; related references have been
commented out.

The code for processing Change options follows in the next patch.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c