commit | b8282dcf0417bbc8a0786c129fdff9cc768f8f3c | [log] [tgz] |
---|---|---|
author | Eric Sesterhenn <snakebyte@gmx.de> | Mon Apr 10 16:43:03 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Apr 11 17:21:06 2006 -0700 |
tree | f9610328753accb586949c065ee7e1f8fbae0b10 | |
parent | b7595b4955b5178e28906838cc3e8efa62d8caee [diff] [blame] |
[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>
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 2904799..f2c011f 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c
@@ -498,7 +498,7 @@ goto drop; if (dccp_parse_options(sk, skb)) - goto drop; + goto drop_and_free; dccp_openreq_init(req, &dp, skb);