1. 12 5月, 2016 3 次提交
  2. 10 5月, 2016 1 次提交
  3. 09 5月, 2016 1 次提交
  4. 05 5月, 2016 4 次提交
  5. 04 5月, 2016 2 次提交
  6. 30 4月, 2016 7 次提交
  7. 29 4月, 2016 1 次提交
    • A
      net/mlx5e: avoid stack overflow in mlx5e_open_channels · 6b87663f
      Arnd Bergmann 提交于
      struct mlx5e_channel_param is a large structure that is allocated
      on the stack of mlx5e_open_channels, and with a recent change
      it has grown beyond the warning size for the maximum stack
      that a single function should use:
      
      mellanox/mlx5/core/en_main.c: In function 'mlx5e_open_channels':
      mellanox/mlx5/core/en_main.c:1325:1: error: the frame size of 1072 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
      
      The function is already using dynamic allocation and is not in
      a fast path, so the easiest workaround is to use another kzalloc
      for allocating the channel parameters.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: d3c9bc27 ("net/mlx5e: Added ICO SQs")
      Acked-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6b87663f
  8. 27 4月, 2016 8 次提交
  9. 25 4月, 2016 4 次提交
  10. 22 4月, 2016 8 次提交
  11. 11 3月, 2016 1 次提交