Wu Fengguang
52fe51f852
ipv6: fix ifnullfree.cocci warnings
...
net/ipv6/route.c:2946:3-8: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.
NULL check before some freeing functions is not needed.
Based on checkpatch warning
"kfree(NULL) is safe this check is probably not required"
and kfreeaddr.cocci by Julia Lawall.
Generated by: scripts/coccinelle/free/ifnullfree.cocci
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-09 17:21:01 -07:00
..
6lowpan
6lowpan: move module_init into core functionality
2015-08-11 22:05:36 +02:00
9p
9p: ensure err is initialized to 0 in p9_client_read/write
2015-08-22 21:35:02 -04:00
802
8021q
net: 8021q: convert to using IFF_NO_QUEUE
2015-08-18 11:55:06 -07:00
appletalk
atm
br2684: Remove unnecessary formatting macros b1 and bs
2015-07-31 15:25:52 -07:00
ax25
NET: AX.25: Stop heartbeat timer on disconnect.
2015-07-15 15:59:58 -07:00
batman-adv
batman-adv: turn batadv_neigh_node_get() into local function
2015-08-27 20:15:34 +02:00
bluetooth
Bluetooth: Fix SCO link type handling on connection complete
2015-08-28 21:03:00 +02:00
bridge
net: bridge: remove unnecessary switchdev include
2015-09-08 22:33:14 -07:00
caif
net: caif: convert to using IFF_NO_QUEUE
2015-08-18 11:55:07 -07:00
can
can: replace timestamp as unique skb attribute
2015-07-12 21:13:22 +02:00
ceph
libceph: treat sockaddr_storage with uninitialized family as blank
2015-07-09 20:30:34 +03:00
core
net: ipv6: use common fib_default_rule_pref
2015-09-09 14:19:50 -07:00
dcb
dccp
tcp: fix recv with flags MSG_WAITALL | MSG_PEEK
2015-07-27 01:06:53 -07:00
decnet
net: ipv6: use common fib_default_rule_pref
2015-09-09 14:19:50 -07:00
dns_resolver
dsa
net: dsa: Allow DSA and CPU ports to have a phy-mode property
2015-08-31 14:48:02 -07:00
ethernet
flow_dissector: Add flags argument to skb_flow_dissector functions
2015-09-01 15:06:22 -07:00
hsr
net: hsr: convert to using IFF_NO_QUEUE
2015-08-18 11:55:07 -07:00
ieee802154
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
2015-08-29 13:15:03 -07:00
ipv4
net: ipv6: use common fib_default_rule_pref
2015-09-09 14:19:50 -07:00
ipv6
ipv6: fix ifnullfree.cocci warnings
2015-09-09 17:21:01 -07:00
ipx
irda
irda: use msecs_to_jiffies for conversion to jiffies
2015-05-25 17:46:21 -04:00
iucv
key
net: Fix RCU splat in af_key
2015-08-24 14:48:10 -07:00
l2tp
lapb
llc
tcp: fix recv with flags MSG_WAITALL | MSG_PEEK
2015-07-27 01:06:53 -07:00
mac80211
mac80211: reject software RSSI CQM with beacon filtering
2015-09-04 15:23:22 +02:00
mac802154
ieee802154: add ack request default handling
2015-08-10 20:43:06 +02:00
mpls
mpls: fix mpls_net_init memory leak
2015-08-31 12:45:09 -07:00
netfilter
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
2015-09-05 21:57:42 -07:00
netlabel
netlink
netlink: rx mmap: fix POLLIN condition
2015-08-30 21:55:51 -07:00
netrom
netfilter: Remove spurios included of netfilter.h
2015-06-18 21:14:32 +02:00
nfc
nfc: netlink: Add capability to reply to vendor_cmd with data
2015-08-20 22:00:11 +02:00
openvswitch
openvswitch: Remove conntrack Kconfig option.
2015-09-06 23:48:33 -07:00
packet
packet: add extended BPF fanout mode
2015-08-17 14:22:48 -07:00
phonet
rds
RDS: verify the underlying transport exists before creating a connection
2015-09-09 12:38:30 -07:00
rfkill
rfkill: Copy "all" global state to other types
2015-09-04 14:26:56 +02:00
rose
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-06-24 02:58:51 -07:00
rxrpc
sched
flow_dissector: Add flags argument to skb_flow_dissector functions
2015-09-01 15:06:22 -07:00
sctp
sctp: add routing output fallback
2015-09-03 15:43:05 -07:00
sunrpc
NFS client bugfixes for Linux 4.2
2015-07-28 09:37:44 -07:00
switchdev
switchdev: fix return value of switchdev_port_fdb_dump in case of error
2015-09-05 22:02:11 -07:00
tipc
net: tipc: fix stall during bclink wakeup procedure
2015-09-08 22:50:26 -07:00
unix
net/unix: support SCM_SECURITY for stream sockets
2015-06-10 22:49:20 -07:00
vmw_vsock
wimax
net:wimax: Fix doucble word "the the" in networking.xml
2015-08-09 22:43:52 -07:00
wireless
cfg80211: regulatory: restore proper user alpha2
2015-09-04 14:29:25 +02:00
x25
xfrm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-09-03 08:08:17 -07:00
compat.c
Kconfig
lwtunnel: infrastructure for handling light weight tunnels like mpls
2015-07-21 10:39:03 -07:00
Makefile
socket.c
sysctl_net.c