dccp: fix error propagation in dccp_v4_connect
authorRongQing.Li <roy.qing.li@gmail.com>
Mon, 21 Nov 2011 21:45:26 +0000 (16:45 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2011 21:45:26 +0000 (16:45 -0500)
commit525c6465d449cdec04b3c91733e46027a4d08422
treeb91bab2701121e6f9a180c9365e57a91bf3271ea
parentfbe54e3b7a7ad7de92b65e8b10fae300eeec6ef3
dccp: fix error propagation in dccp_v4_connect

The errcode is not updated when ip_route_newports() fails.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv4.c