1. 20 10月, 2015 1 次提交
    • H
      crypto: api - Only abort operations on fatal signal · 3fc89adb
      Herbert Xu 提交于
      Currently a number of Crypto API operations may fail when a signal
      occurs.  This causes nasty problems as the caller of those operations
      are often not in a good position to restart the operation.
      
      In fact there is currently no need for those operations to be
      interrupted by user signals at all.  All we need is for them to
      be killable.
      
      This patch replaces the relevant calls of signal_pending with
      fatal_signal_pending, and wait_for_completion_interruptible with
      wait_for_completion_killable, respectively.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      3fc89adb
  2. 17 8月, 2015 1 次提交
  3. 22 6月, 2015 1 次提交
  4. 17 6月, 2015 1 次提交
  5. 08 4月, 2015 1 次提交
    • H
      crypto: user - Fix crypto_alg_match race · 016baaa1
      Herbert Xu 提交于
      The function crypto_alg_match returns an algorithm without taking
      any references on it.  This means that the algorithm can be freed
      at any time, therefore all users of crypto_alg_match are buggy.
      
      This patch fixes this by taking a reference count on the algorithm
      to prevent such races.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      016baaa1
  6. 03 4月, 2015 1 次提交
  7. 26 11月, 2014 1 次提交
  8. 24 11月, 2014 1 次提交
  9. 08 5月, 2014 1 次提交
  10. 25 4月, 2014 1 次提交
  11. 10 3月, 2013 1 次提交
  12. 19 2月, 2013 3 次提交
  13. 11 9月, 2012 1 次提交
  14. 09 9月, 2012 1 次提交
  15. 07 9月, 2012 1 次提交
  16. 30 6月, 2012 1 次提交
    • P
      netlink: add netlink_kernel_cfg parameter to netlink_kernel_create · a31f2d17
      Pablo Neira Ayuso 提交于
      This patch adds the following structure:
      
      struct netlink_kernel_cfg {
              unsigned int    groups;
              void            (*input)(struct sk_buff *skb);
              struct mutex    *cb_mutex;
      };
      
      That can be passed to netlink_kernel_create to set optional configurations
      for netlink kernel sockets.
      
      I've populated this structure by looking for NULL and zero parameters at the
      existing code. The remaining parameters that always need to be set are still
      left in the original interface.
      
      That includes optional parameters for the netlink socket creation. This allows
      easy extensibility of this interface in the future.
      
      This patch also adapts all callers to use this new interface.
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a31f2d17
  17. 02 4月, 2012 1 次提交
  18. 29 3月, 2012 2 次提交
  19. 27 2月, 2012 1 次提交
  20. 05 2月, 2012 1 次提交
  21. 09 11月, 2011 1 次提交
  22. 02 11月, 2011 1 次提交
  23. 21 10月, 2011 6 次提交