diff options
author | Edgar E Iglesias <edgar@axis.com> | 2005-05-31 17:08:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-05-31 17:08:05 -0700 |
commit | 36839836e8132731e0cadddce452423036a1d5b3 (patch) | |
tree | 80dc4a2f33b0df00d706118f03c8717f8d0cd78f /net/ipv4/esp4.c | |
parent | 08e9cd1fc559c00bc05df3fc551efe3b87c57ee3 (diff) | |
download | linux-3.10-36839836e8132731e0cadddce452423036a1d5b3.tar.gz linux-3.10-36839836e8132731e0cadddce452423036a1d5b3.tar.bz2 linux-3.10-36839836e8132731e0cadddce452423036a1d5b3.zip |
[IPSEC]: Fix esp_decap_data size verification in esp4.
Signed-off-by: Edgar E Iglesias <edgar@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/esp4.c')
-rw-r--r-- | net/ipv4/esp4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index 053a883247b..eae84cc39d3 100644 --- a/net/ipv4/esp4.c +++ b/net/ipv4/esp4.c @@ -478,7 +478,7 @@ static int __init esp4_init(void) { struct xfrm_decap_state decap; - if (sizeof(struct esp_decap_data) < + if (sizeof(struct esp_decap_data) > sizeof(decap.decap_data)) { extern void decap_data_too_small(void); |