mirror of https://gitee.com/openkylin/linux.git
[TCP]: Trivial fix to message in tcp_v4_inbound_md5_hash
The message logged in tcp_v4_inbound_md5_hash when the hash was expected but not found was reversed. Signed-off-by: Leigh Brown <leigh@solinno.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8228a18dd3
commit
a9fc00cca8
|
@ -1186,7 +1186,7 @@ static int tcp_v4_inbound_md5_hash(struct sock *sk, struct sk_buff *skb)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (hash_expected && !hash_location) {
|
if (hash_expected && !hash_location) {
|
||||||
LIMIT_NETDEBUG(KERN_INFO "MD5 Hash NOT expected but found "
|
LIMIT_NETDEBUG(KERN_INFO "MD5 Hash expected but NOT found "
|
||||||
"(" NIPQUAD_FMT ", %d)->(" NIPQUAD_FMT ", %d)\n",
|
"(" NIPQUAD_FMT ", %d)->(" NIPQUAD_FMT ", %d)\n",
|
||||||
NIPQUAD(iph->saddr), ntohs(th->source),
|
NIPQUAD(iph->saddr), ntohs(th->source),
|
||||||
NIPQUAD(iph->daddr), ntohs(th->dest));
|
NIPQUAD(iph->daddr), ntohs(th->dest));
|
||||||
|
|
Loading…
Reference in New Issue