summaryrefslogtreecommitdiff
path: root/net/xfrm
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@oracle.com>2017-12-20 02:35:47 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2017-12-21 10:17:48 +0300
commit7f05b467a735aba1476d9ae8e0ae9d9d8e60066c (patch)
treefd465f66ae953e9abedce0d2374ae48b1900d3bd /net/xfrm
parentf58869c44fb3f0835dd2dabce06e5919a18655c6 (diff)
downloadlinux-7f05b467a735aba1476d9ae8e0ae9d9d8e60066c.tar.xz
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>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions