Skip to content

Commit

Permalink
[IPSEC]: Fix esp_decap_data size verification in esp4.
Browse files Browse the repository at this point in the history
Signed-off-by: Edgar E Iglesias <edgar@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Edgar E Iglesias authored and David S. Miller committed Jun 1, 2005
1 parent 08e9cd1 commit 3683983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/esp4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3683983

Please sign in to comment.