summaryrefslogtreecommitdiffstats
path: root/Documentation/kref.txt
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2017-03-31 13:02:26 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-01 20:16:41 -0700
commit57377d63547861919ee634b845c7caa38de4a452 (patch)
tree5e00b7be9f0d3abc3b0901662867aba202835c0a /Documentation/kref.txt
parent61b9a047729bb230978178bca6729689d0c50ca2 (diff)
downloadblackbird-obmc-linux-57377d63547861919ee634b845c7caa38de4a452.tar.gz
blackbird-obmc-linux-57377d63547861919ee634b845c7caa38de4a452.zip
l2tp: ensure session can't get removed during pppol2tp_session_ioctl()
Holding a reference on session is required before calling pppol2tp_session_ioctl(). The session could get freed while processing the ioctl otherwise. Since pppol2tp_session_ioctl() uses the session's socket, we also need to take a reference on it in l2tp_session_get(). Fixes: fd558d186df2 ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts") Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/kref.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud