1
0
Fork 0

[DCCP]: Fix leak in net/dccp/ipv4.c

we dont free req if we cant parse the options.
This fixes coverity bug id #1046

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
wifi-calibration
Eric Sesterhenn 2006-04-10 16:43:03 -07:00 committed by David S. Miller
parent b7595b4955
commit b8282dcf04
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
goto drop;
if (dccp_parse_options(sk, skb))
goto drop;
goto drop_and_free;
dccp_openreq_init(req, &dp, skb);