1. 11 5月, 2011 1 次提交
    • A
      tipc: Avoid recomputation of outgoing message length · 26896904
      Allan Stephens 提交于
      Rework TIPC's message sending routines to take advantage of the total
      amount of data value passed to it by the kernel socket infrastructure.
      This change eliminates the need for TIPC to compute the size of outgoing
      messages itself, as well as the check for an oversize message in
      tipc_msg_build().  In addition, this change warrants an explanation:
      
         -     res = send_packet(NULL, sock, &my_msg, 0);
         +     res = send_packet(NULL, sock, &my_msg, bytes_to_send);
      
      Previously, the final argument to send_packet() was ignored (since the
      amount of data being sent was recalculated by a lower-level routine)
      and we could just pass in a dummy value (0). Now that the
      recalculation is being eliminated, the argument value being passed to
      send_packet() is significant and we have to supply the actual amount
      of data we want to send.
      Signed-off-by: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      26896904
  2. 14 3月, 2011 3 次提交
  3. 24 2月, 2011 2 次提交
  4. 02 1月, 2011 4 次提交
  5. 03 12月, 2010 1 次提交
  6. 17 10月, 2010 1 次提交
  7. 13 5月, 2010 1 次提交
  8. 05 6月, 2008 1 次提交
  9. 05 5月, 2008 1 次提交
  10. 07 3月, 2008 1 次提交
  11. 11 2月, 2007 1 次提交
  12. 18 1月, 2006 1 次提交
  13. 13 1月, 2006 4 次提交