tipc: Standardize exit logic for message rejection handling
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 23 May 2011 17:47:44 +0000 (13:47 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Jun 2011 20:18:15 +0000 (16:18 -0400)
commitacc631bf6f597b36f3f014e12e69c710da610027
tree2dbdf526d8fdeb52acd857fdf62507d7ea3a22da
parent7ae4738e9e46a2f88e5d1332b7397bb96c527c44
tipc: Standardize exit logic for message rejection handling

Modifies the routine that handles the rejection of payload messages
so that it has a single exit point that frees up the rejected message,
thereby eliminating some duplicated code.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/port.c