Skip to content
  1. Jun 20, 2012
  2. Jun 19, 2012
    • stigge@antcom.de's avatar
      net: lpc_eth: Driver cleanup · b31525d1
      stigge@antcom.de authored
      
      
      This patch removes some nowadays superfluous definitions (one unused define and
      an obsolete function forward declaration) and corrects a netdev_err() to
      netdev_dbg().
      
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Signed-off-by: default avatarAlexandre Pereira da Silva <aletes.xgr@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b31525d1
    • Pablo Neira Ayuso's avatar
      netfilter: fix missing symbols if CONFIG_NETFILTER_NETLINK_QUEUE_CT unset · 674147e2
      Pablo Neira Ayuso authored
      
      
      ERROR: "nfqnl_ct_parse" [net/netfilter/nfnetlink_queue.ko] undefined!
      ERROR: "nfqnl_ct_seq_adjust" [net/netfilter/nfnetlink_queue.ko] undefined!
      ERROR: "nfqnl_ct_put" [net/netfilter/nfnetlink_queue.ko] undefined!
      ERROR: "nfqnl_ct_get" [net/netfilter/nfnetlink_queue.ko] undefined!
      
      We have to use CONFIG_NETFILTER_NETLINK_QUEUE_CT in
      include/net/netfilter/nfnetlink_queue.h, not CONFIG_NF_CONNTRACK.
      
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      674147e2
    • David S. Miller's avatar
      Merge branch 'master' of git://1984.lsi.us.es/nf-next · 6bdc5f49
      David S. Miller authored
      
      
      Pablo says:
      
      ====================
      The following patchset provides fixes for issues that were recently introduced
      by my new cthelper infrastructure. They have been spotted by Randy Dunlap,
      Andrew Morton and Dan Carpenter.
      
      The patches provide:
      
      * compilation fixes if CONFIG_NF_CONNTRACK is disabled: I moved all the
        conntrack code from nfnetlink_queue.c to nfnetlink_queue_ct.c to avoid
        peppering the entire code with lots of ifdefs. I needed to rename
        nfnetlink_queue.c to nfnetlink_queue_core.c to get it working with the
        Makefile tweaks I've added.
      
      * fix NULL pointer dereference via ctnetlink while trying to change the helper
        for an existing conntrack entry. I don't find any reasonable use case for
        changing the helper from one to another in run-time. Thus, now ctnetlink
        returns -EOPNOTSUPP for this operation.
      
      * fix possible out-of-bound zeroing of the conntrack extension area due to
        the helper automatic assignation routine.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6bdc5f49