1. 25 Mar, 2007 1 commit
  2. 24 Mar, 2007 17 commits
  3. 20 Mar, 2007 8 commits
  4. 16 Mar, 2007 1 commit
  5. 14 Mar, 2007 1 commit
  6. 11 Mar, 2007 7 commits
  7. 09 Mar, 2007 4 commits
  8. 08 Mar, 2007 1 commit
    • Arnaldo Carvalho de Melo's avatar
      [TCP]: Fix minisock tcp_create_openreq_child() typo. · e62a305a
      Arnaldo Carvalho de Melo authored
      On 2/28/07, KOVACS Krisztian <hidden@balabit.hu> wrote:
      >
      >   Hi,
      >
      >   While reading TCP minisock code I've found this suspiciously looking
      > code fragment:
      >
      > - 8< -
      > struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req, struct sk_buff *skb)
      > {
      >         struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC);
      >
      >         if (newsk != NULL) {
      >                 const struct inet_request_sock *ireq = inet_rsk(req);
      >                 struct tcp_request_sock *treq = tcp_rsk(req);
      >                 struct inet_connection_sock *newicsk = inet_csk(sk);
      >                 struct tcp_sock *newtp;
      > - 8< -
      >
      >   The above code initializes newicsk to inet_csk(sk), isn't that supposed
      > to be inet_csk(newsk)?  As far as I can tell this might leave
      > icsk_ack.last_seg_size zero even if we do have received data.
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      e62a305a