commit 51edabe8443f84c07c3bc5499445c984035af8ea
Author: Markus Pfeiffer <[email protected]>
Date: Mon Nov 10 10:21:46 2014 +0000
net/if_clone: Panic if the same cloner is attached twice
if_clone_attach used to allow attaching the same cloner twice,
which then lead to infinite loops when trying to create
a clone with an invalid name.
This patch adds a check whether the cloner is already
attached, and if so, panics.
Summary of changes:
sys/net/if_clone.c | 10 ++++++++++
1 file changed, 10 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/51edabe8443f84c07c3bc5499445c984035af8ea
--
DragonFly BSD source repository