1. 11 1月, 2010 2 次提交
    • J
      NET: irda, remove unnecessary checks · c026ca58
      Jiri Slaby 提交于
      Stanse found a potential null dereference in ircomm_tty_close
      and ircomm_tty_hangup. There is a check for tty being NULL,
      but it is dereferenced earlier. But it is bogus, the tty cannot
      be NULL, so remove the !tty checks.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c026ca58
    • J
      NET: ipv6, remove unnecessary check · c3f6c21d
      Jiri Slaby 提交于
      Stanse found a potential null dereference in snmp6_unregister_dev.
      There is a check for idev being NULL, but it is dereferenced
      earlier. But idev cannot be NULL when passed to
      snmp6_unregister_dev, so remove the test.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
      Cc: "Pekka Savola (ipv6)" <pekkas@netcore.fi>
      Cc: James Morris <jmorris@namei.org>
      Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c3f6c21d
  2. 10 1月, 2010 1 次提交
  3. 08 1月, 2010 25 次提交
  4. 07 1月, 2010 12 次提交