Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328119
b: refs/heads/master
c: 5dff747
h: refs/heads/master
i:
  328117: 9b196d6
  328115: 4dcd243
  328111: 13040b0
v: v3
  • Loading branch information
Christoph Paasch authored and David S. Miller committed Sep 27, 2012
1 parent 9b2ae43 commit 9203d87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bcc452935da124f26885e969ec5a78a8735d1452
refs/heads/master: 5dff747b7038d10f9c174a1245263fd1c36a644d
5 changes: 2 additions & 3 deletions trunk/net/ipv4/tcp_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,8 +925,7 @@ EXPORT_SYMBOL(tcp_syn_flood_action);
/*
* Save and compile IPv4 options into the request_sock if needed.
*/
static struct ip_options_rcu *tcp_v4_save_options(struct sock *sk,
struct sk_buff *skb)
static struct ip_options_rcu *tcp_v4_save_options(struct sk_buff *skb)
{
const struct ip_options *opt = &(IPCB(skb)->opt);
struct ip_options_rcu *dopt = NULL;
Expand Down Expand Up @@ -1568,7 +1567,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
ireq->loc_addr = daddr;
ireq->rmt_addr = saddr;
ireq->no_srccheck = inet_sk(sk)->transparent;
ireq->opt = tcp_v4_save_options(sk, skb);
ireq->opt = tcp_v4_save_options(skb);

if (security_inet_conn_request(sk, skb, req))
goto drop_and_free;
Expand Down

0 comments on commit 9203d87

Please sign in to comment.