Tag: efe1cf0c5743caf4daccb57b399ef63edad41c9d

net/wireless/nl80211.c: Avoid call to genlmsg_cancel

Author: Julia Lawall <julia@diku.dk> genlmsg_cancel subtracts some constants from its second argument before calling nlmsg_cancel. nlmsg_cancel then calls nlmsg_trim on the same arguments. nlmsg_trim tests for NULL before doing any computation, but a NULL second argument to genlmsg_cancel is no longer NULL due to the initial subtraction. Nothing else happens in this execution, so the …

Continue reading