diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-06-25 16:09:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-28 00:53:35 +0200 |
commit | 57b47553f65e12e2e4f1608168374b0e651de843 (patch) | |
tree | 45557a36b10b6a43d5f3f610d35094e65adc9869 /include | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff) | |
download | linux-57b47553f65e12e2e4f1608168374b0e651de843.tar.xz linux-57b47553f65e12e2e4f1608168374b0e651de843.zip |
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')
-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) u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, u16 *mssp); -__u32 cookie_v4_init_sequence(struct sock *sk, struct sk_buff *skb, __u16 *mss); +__u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb, + __u16 *mss); #else static inline __u32 cookie_v4_init_sequence(struct sock *sk, - struct sk_buff *skb, + const struct sk_buff *skb, __u16 *mss) { return 0; |