diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index 053a883247ba68ad4f68eb88971a33a881196840..eae84cc39d3f10e984c93e11cb4a94c160bc6a80 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);