Searched hist:"7 f05b467" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/net/ |
H A D | xfrm.h | 7f05b467 Tue Dec 19 17:35:47 CST 2017 Shannon Nelson <shannon.nelson@oracle.com> xfrm: check for xdo_dev_state_free
The current XFRM code assumes that we've implemented the xdo_dev_state_free() callback, even if it is meaningless to the driver. This patch adds a check for it before calling, as done in other APIs, to prevent a NULL function pointer kernel crash.
Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> 7f05b467 Tue Dec 19 17:35:47 CST 2017 Shannon Nelson <shannon.nelson@oracle.com> xfrm: check for xdo_dev_state_free The current XFRM code assumes that we've implemented the xdo_dev_state_free() callback, even if it is meaningless to the driver. This patch adds a check for it before calling, as done in other APIs, to prevent a NULL function pointer kernel crash. Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
|