25 Jan, 2007

1 commit


24 Jan, 2007

15 commits

  • > --- a/net/sctp/sm_statefuns.c
    > +++ b/net/sctp/sm_statefuns.c
    > @@ -462,24 +461,6 @@ sctp_disposition_t sctp_sf_do_5_1C_ack(const struct sctp_endpoint *ep,

    > - if (!init_tag) {
    > - struct sctp_chunk *reply = sctp_make_abort(asoc, chunk, 0);
    > - if (!reply)
    > - goto nomem;

    This introduced a compiler warning, easily fixed.

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     
  • I think the return value of rt6_nlmsg_size() should includes the
    amount of RTA_METRICS.

    Signed-off-by: Noriaki TAKAMIYA
    Acked-by: Thomas Graf
    Signed-off-by: David S. Miller

    Noriaki TAKAMIYA
     
  • The patch "Replace CHECKSUM_HW by CHECKSUM_PARTIAL/CHECKSUM_COMPLETE"
    changed to unconditional copying of ip_summed field from collapsed
    skb. This patch reverts this change.

    The majority of substantial work including heavy testing
    and diagnosing by: Michael Tokarev
    Possible reasons pointed by: Herbert Xu and Patrick McHardy.

    Signed-off-by: Jarek Poplawski
    Acked-by: Herbert Xu
    Signed-off-by: David S. Miller

    Jarek Poplawski
     
  • David S. Miller
     
  • I encountered a kernel panic with my test program, which is a very
    simple IPv6 client-server program.

    The server side sets IPV6_RECVPKTINFO on a listening socket, and the
    client side just sends a message to the server. Then the kernel panic
    occurs on the server. (If you need the test program, please let me
    know. I can provide it.)

    This problem happens because a skb is forcibly freed in
    tcp_rcv_state_process().

    When a socket in listening state(TCP_LISTEN) receives a syn packet,
    then tcp_v6_conn_request() will be called from
    tcp_rcv_state_process(). If the tcp_v6_conn_request() successfully
    returns, the skb would be discarded by __kfree_skb().

    However, in case of a listening socket which was already set
    IPV6_RECVPKTINFO, an address of the skb will be stored in
    treq->pktopts and a ref count of the skb will be incremented in
    tcp_v6_conn_request(). But, even if the skb is still in use, the skb
    will be freed. Then someone still using the freed skb will cause the
    kernel panic.

    I suggest to use kfree_skb() instead of __kfree_skb().

    Signed-off-by: Masayuki Nakagawa
    Signed-off-by: David S. Miller

    Masayuki Nakagawa
     
  • The recent hashing introduced an off-by-one bug in policy list insertion.
    Instead of adding after the last entry with a lesser or equal priority,
    we're adding after the successor of that entry.

    This patch fixes this and also adds a warning if we detect a duplicate
    entry in the policy list. This should never happen due to this if clause.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     
  • __x25_find_socket does a sock_hold.
    This adds a missing sock_put in x25_receive_data.

    Signed-off-by: Andrew Hendry
    Signed-off-by: David S. Miller

    Andrew Hendry
     
  • Currently, when association enters SHUTDOWN state,the
    implementation will SACK any DATA first and then transmit
    the SHUTDOWN chunk. This is against the order required by
    2960bis spec. SHUTDOWN must always be first, followed by
    SACK. This change forces this order and also enables bundling.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • Consider the chunk as Out-of-the-Blue if we don't have
    an endpoint. Otherwise discard it as before.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • Verify init_tag and a_rwnd mandatory parameters in INIT and
    INIT-ACK chunks.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • sctp_process_missing_param() needs to use the SCTP_ERROR_MISS_PARAM
    error cause value.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     
  • Join all-node multicast group after assignment of dev->ip6_ptr
    because it must be assigned when ipv6_dev_mc_inc() is called.
    This fixes Bug#7817, reported by .

    Closes: 7817
    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki
     
  • When old flow cache entries that are not at the head of their chain
    trigger a transient security error they get unlinked along with all
    the entries preceding them in the chain. The preceding entries are
    not freed correctly.

    This patch fixes this by simply leaving the entry around. It's based
    on a suggestion by Venkat Yekkirala.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     
  • Change my email address to reflect OSDL merger.

    Signed-off-by: Stephen Hemminger
    [ The irony. Somebody still has his sign-off message hardcoded
    in a script or his brainstem ;^]
    Signed-off-by: Linus Torvalds

    Stephen Hemminger
     

23 Jan, 2007

2 commits


10 Jan, 2007

5 commits


09 Jan, 2007

9 commits


05 Jan, 2007

6 commits


04 Jan, 2007

2 commits