summaryrefslogtreecommitdiff
path: root/geoip.h
AgeCommit message (Expand)AuthorFilesLines
2013-07-11configure, netsniff-ng: if no libgeopip, do not link against libzDaniel Borkmann1-1/+1
2013-07-11configure, netsniff-ng: make netsniff-ng's geoip dependency optionalDaniel Borkmann1-0/+84
2013-06-04misc: cleanup header commentsDaniel Borkmann1-6/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+29
type='submit' value='reload'/>
authorDan Carpenter <dan.carpenter@oracle.com>2017-02-07 16:20:53 +0300
committerJohannes Berg <johannes.berg@intel.com>2017-02-08 10:05:07 +0100
commitb2347a322d1f6f93f1a39fe17ed08628fc959351 (patch)
tree6276bbd2af92b53346aa7e50871fe8069ad591e9 /net/mac80211/debugfs.c
parent26717828b75dd5c46e97f7f4a9b937d038bb2852 (diff)
mac80211: check for allocation failure in debugfs code
kmalloc() can fail. Also let's move the allocation out of the declaration block so it's easier to read. Fixes: 4a5eccaa9350 ("mac80211: Show pending txqlen in debugfs.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r--net/mac80211/debugfs.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c