commit | e25f866fbc8a4bf387b5dbe8e25aa5b07e55c74f | [log] [tgz] |
---|---|---|
author | Cong Wang <cwang@twopensource.com> | Wed Oct 15 14:33:21 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 17 12:02:57 2014 -0400 |
tree | df2c77e0b95e195dc496bba98155e2c62b9a80cd | |
parent | 2077eebf7d8bf20b36524de45851e28111a60c52 [diff] |
ipv4: share tcp_v4_save_options() with cookie_v4_check() cookie_v4_check() allocates ip_options_rcu in the same way with tcp_v4_save_options(), we can just make it a helper function. Cc: Krzysztof Kolasa <kkolasa@winsoft.pl> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Cong Wang <cwang@twopensource.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>