From: Eric Dumazet Date: Fri, 21 Oct 2011 09:22:42 +0000 (-0400) Subject: tcp: add const qualifiers where possible X-Git-Tag: v3.2-rc1~182^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf533ea53ebfae41be15b103d78e7ebec30b9969;p=pandora-kernel.git tcp: add const qualifiers where possible Adding const qualifiers to pointers can ease code review, and spot some bugs. It might allow compiler to optimize code further. For example, is it legal to temporary write a null cksum into tcphdr in tcp_md5_hash_header() ? I am afraid a sniffer could catch the temporary null value... Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed