[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110321.180859.245394202.davem@davemloft.net>
Date: Mon, 21 Mar 2011 18:08:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yjwei@...fujitsu.com
Cc: netdev@...r.kernel.org, steffen.klassert@...unet.com
Subject: Re: [PATCH v3] xfrm: Fix initialize repl field of struct xfrm_state
From: Wei Yongjun <yjwei@...fujitsu.com>
Date: Mon, 21 Mar 2011 16:37:03 +0800
> Commit 'xfrm: Move IPsec replay detection functions to a separate file'
> (9fdc4883d92d20842c5acea77a4a21bb1574b495)
> introduce repl field to struct xfrm_state, and only initialize it
> under SA's netlink create path, the other path, such as pf_key,
> ipcomp/ipcomp6 etc, the repl field remaining uninitialize. So if
> the SA is created by pf_key, any input packet with SA's encryption
> algorithm will cause panic.
I'll apply this, thanks.
I know you guys are discussing alternative ways to handle this,
but getting the crash fixed in the simplest way now doesn't hurt.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists