commit | 88edf10315c8d72db70d39f3851cf2c91abdb634 | [log] [tgz] |
---|---|---|
author | Lionel Gauthier <Lionel.Gauthier@eurecom.fr> | Thu Dec 15 22:35:52 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 17 12:00:25 2016 -0500 |
tree | e33e423488d1ba5821e9f3ed2a133190804924f2 | |
parent | e999cb43d51f3635afd6253c5c066798ad998255 [diff] |
gtp: gtp_check_src_ms_ipv4() always return success gtp_check_src_ms_ipv4() did not find the PDP context matching with the UE IP address because the memory location is not right, but the result is inverted by the Boolean "not" operator. So whatever is the PDP context, any call to this function is successful. Signed-off-by: Lionel Gauthier <Lionel.Gauthier@eurecom.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>