diff options
author | Cong Wang <cwang@twopensource.com> | 2014-10-15 23:33:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-17 18:02:57 +0200 |
commit | 461b74c391c4ec9c766794e158508c357d8952e6 (patch) | |
tree | 19cfb1a79b6dc5c9141022985c3917fc2d90b7a1 /net/ipv4/ip_output.c | |
parent | ipv4: share tcp_v4_save_options() with cookie_v4_check() (diff) | |
download | linux-461b74c391c4ec9c766794e158508c357d8952e6.tar.xz linux-461b74c391c4ec9c766794e158508c357d8952e6.zip |
ipv4: clean up cookie_v4_check()
We can retrieve opt from skb, no need to pass it as a parameter.
And opt should always be non-NULL, no need to check.
Cc: Krzysztof Kolasa <kkolasa@winsoft.pl>
Cc: Eric Dumazet <edumazet@google.com>
Tested-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
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>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions