summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-10-12 20:58:04 +0100
committerBen Hutchings <ben@decadent.org.uk>2018-10-21 08:46:19 +0100
commit6bf2b03aa461c35ec7bf724cafe3caa3792eaefd (patch)
treee004859f230cae9cd75d5a3b3914536bc6ac7a86 /Documentation
parente6e23cc5ec5c319c68f1dfc49e4f2f169b111e12 (diff)
ppp: Fix null pointer dereference on registration failure
register_netdevice() will call the device's ndo_uninit operation if registration fails after it calls the ndo_init operation. However ppp_dev_uninit() uses ppp->ppp_net which is currently not set until after register_netdevice() returns. This was fixed upstream as part of commit 96d934c70db6 "ppp: add rtnetlink device creation support". Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions