diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-06-25 10:09:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 18:53:35 -0400 |
commit | 57b47553f65e12e2e4f1608168374b0e651de843 (patch) | |
tree | 45557a36b10b6a43d5f3f610d35094e65adc9869 /include/net/tcp.h | |
parent | c1c27fb9b3040a2559d4d3e1183afa8c106bc94a (diff) |
tcp: cookie_v4_init_sequence: skb should be const
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 06a3023080c0..39e47c4e4f19 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -493,10 +493,11 @@ static inline u32 tcp_cookie_time(void) | |||
493 | 493 | ||
494 | u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, | 494 | u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, |
495 | u16 *mssp); | 495 | u16 *mssp); |
496 | __u32 cookie_v4_init_sequence(struct sock *sk, struct sk_buff *skb, __u16 *mss); | 496 | __u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb, |
497 | __u16 *mss); | ||
497 | #else | 498 | #else |
498 | static inline __u32 cookie_v4_init_sequence(struct sock *sk, | 499 | static inline __u32 cookie_v4_init_sequence(struct sock *sk, |
499 | struct sk_buff *skb, | 500 | const struct sk_buff *skb, |
500 | __u16 *mss) | 501 | __u16 *mss) |
501 | { | 502 | { |
502 | return 0; | 503 | return 0; |