1. 13 2月, 2019 7 次提交
  2. 05 2月, 2019 4 次提交
  3. 26 1月, 2019 8 次提交
  4. 08 1月, 2019 1 次提交
  5. 07 12月, 2018 1 次提交
  6. 29 11月, 2018 1 次提交
    • J
      s390/qeth: fix length check in SNMP processing · 9a764c1e
      Julian Wiedmann 提交于
      The response for a SNMP request can consist of multiple parts, which
      the cmd callback stages into a kernel buffer until all parts have been
      received. If the callback detects that the staging buffer provides
      insufficient space, it bails out with error.
      This processing is buggy for the first part of the response - while it
      initially checks for a length of 'data_len', it later copies an
      additional amount of 'offsetof(struct qeth_snmp_cmd, data)' bytes.
      
      Fix the calculation of 'data_len' for the first part of the response.
      This also nicely cleans up the memcpy code.
      
      Fixes: 1da177e4 ("Linux-2.6.12-rc2")
      Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
      Reviewed-by: NUrsula Braun <ubraun@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9a764c1e
  7. 15 11月, 2018 1 次提交
  8. 09 11月, 2018 8 次提交
  9. 04 11月, 2018 6 次提交
  10. 13 10月, 2018 3 次提交