diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-23 17:56:59 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-23 17:56:59 -0700 |
commit | e7d311da9cba1e113f82176130d3af1be77dc3ee (patch) | |
tree | 05b4baf382124a9a0342777127c09832dcbd88c0 /net/dccp/ipv4.c | |
parent | c8e0ca683dfea7242ff29814561dfe761945e5b3 (diff) | |
parent | ba9e358fd04190a59e605c2963a15e014139a707 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index ae088d1347a..6298cf58ff9 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -463,6 +463,7 @@ static int dccp_v4_send_response(struct sock *sk, struct request_sock *req, if (skb != NULL) { const struct inet_request_sock *ireq = inet_rsk(req); + memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); err = ip_build_and_send_pkt(skb, sk, ireq->loc_addr, ireq->rmt_addr, ireq->opt); @@ -647,6 +648,7 @@ int dccp_v4_send_reset(struct sock *sk, enum dccp_reset_codes code) if (skb != NULL) { const struct inet_sock *inet = inet_sk(sk); + memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); err = ip_build_and_send_pkt(skb, sk, inet->saddr, inet->daddr, NULL); if (err == NET_XMIT_CN) |