summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-10-28 23:21:57 +0200
committerEric Paris <eparis@redhat.com>2010-10-28 23:22:14 +0200
commit2529a0df0f64dab1f60ae08e038b89c53a6b4c02 (patch)
tree59f73938d84b78b535c91282677054d1f3dd1697 /net/8021q
parentfanotify: ignore fanotify ignore marks if open writers (diff)
downloadlinux-2529a0df0f64dab1f60ae08e038b89c53a6b4c02.tar.xz
linux-2529a0df0f64dab1f60ae08e038b89c53a6b4c02.zip
fsnotify: implement a default maximum queue depth
Currently fanotify has no maximum queue depth. Since fanotify is CAP_SYS_ADMIN only this does not pose a normal user DoS issue, but it certianly is possible that an fanotify listener which can't keep up could OOM the box. This patch implements a default 16k depth. This is the same default depth used by inotify, but given fanotify's better queue merging in many situations this queue will contain many additional useful events by comparison. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions