The patch titled isdn/gigaset: avoid cs->dev null pointer dereference has been removed from the -mm tree. Its filename was isdn-gigaset-avoid-cs-dev-null-pointer-dereference.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: isdn/gigaset: avoid cs->dev null pointer dereference From: Akinobu Mita <akinobu.mita@xxxxxxxxx> When gigaset_initbcs() is called, cs->dev is not initialized yet. If dev_alloc_skb() failed in this function, NULL poinster dereference will happen at dev_warn(). Cc: Kai Germaschewski <kai.germaschewski@xxxxxx> Cc: Hansjoerg Lipp <hjlipp@xxxxxx> Cc: Tilman Schmidt <tilman@xxxxxxx> Cc: Karsten Keil <kkeil@xxxxxxx> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/isdn/gigaset/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/isdn/gigaset/common.c~isdn-gigaset-avoid-cs-dev-null-pointer-dereference drivers/isdn/gigaset/common.c --- a/drivers/isdn/gigaset/common.c~isdn-gigaset-avoid-cs-dev-null-pointer-dereference +++ a/drivers/isdn/gigaset/common.c @@ -616,7 +616,7 @@ static struct bc_state *gigaset_initbcs( } else if ((bcs->skb = dev_alloc_skb(SBUFSIZE + HW_HDR_LEN)) != NULL) skb_reserve(bcs->skb, HW_HDR_LEN); else { - dev_warn(cs->dev, "could not allocate skb\n"); + gig_dbg(DEBUG_INIT, "could not allocate skb\n"); bcs->inputstate |= INS_skip_frame; } _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are acpi-fix-single-linked-list-manipulation.patch debugfs-check-return-value-correctly.patch lightning-return-proper-return-code.patch git-mtd.patch n2-fix-confusing-error-code.patch tokenring-fix-module_init-error-handling.patch gss_spkm3-fix-error-handling-in-module-init.patch sunrpc-add-missing-spin_unlock.patch auth_gss-unregister-gss_domain-when-unloading-module.patch git-pcmcia.patch pci-fix-__pci_register_driver-error-handling.patch acpiphp-fix-missing-acpiphp_glue_exit.patch git-watchdog.patch edac_mc-fix-error-handling.patch paride-return-proper-error-code.patch bit-revese-library.patch crc32-replace-bitreverse-by-bitrev32.patch video-use-bitrev8.patch net-use-bitrev8.patch isdn-hisax-use-bitrev8.patch atm-ambassador-use-bitrev8.patch isdn-gigaset-use-bitrev8.patch isdn-fix-missing-unregister_capi_driver.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html