30 Oct, 2005

2 commits

  • This patch uses sg_set_buf/sg_init_one in some places where it was
    duplicated.

    Signed-off-by: David Hardeman
    Cc: James Bottomley
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Herbert Xu

    David Hardeman
     
  • Bluetooth HIDP selects INPUT and it really needs it to be there - module
    depends on input core. And input core is never built on s390...

    Marked as broken on s390, for now; if somebody has better ideas, feel
    free to fix it and remove dependency...

    Signed-off-by: Al Viro
    Acked-by: Marcel Holtmann
    Signed-off-by: Linus Torvalds

    Al Viro
     

29 Oct, 2005

17 commits


28 Oct, 2005

8 commits


27 Oct, 2005

2 commits

  • Convert nanoseconds to microseconds correctly.

    Spotted by Steve Dickson

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Although this message is having the intended effect of causing wireless
    driver maintainers to upgrade their code, I never should have merged this
    patch in its present form. Leading to tons of bug reports and unhappy
    users.

    Some wireless apps poll for statistics regularly, which leads to a printk()
    every single time they ask for stats. That's a little bit _too_ much of a
    reminder that the driver is using an old API.

    Change this to printing out the message once, per kernel boot.

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Garzik
     

26 Oct, 2005

11 commits

  • Jeff Garzik
     
  • James Ketrenos wrote:
    > [3/4] Use the tx_headroom and reserve requested space.

    This patch introduced a compile problem; patch below corrects this.

    Fixed compilation error due to not passing tx_headroom in
    ieee80211_tx_frame.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • Fix setting of the broadcast address when the netmask is set via
    SIOCSIFNETMASK in Linux 2.6. The code wanted the old value of
    ifa->ifa_mask but used it after it had already been overwritten with
    the new value.

    Signed-off-by: David Engel
    Signed-off-by: Arnaldo Carvalho de Melo

    David Engel
     
  • Signed-off-by: Ralf Baechle DL5RB
    Signed-off-by: Arnaldo Carvalho de Melo

    Ralf Baechle
     
  • Add kernel-doc to skbuff.h, skbuff.c to eliminate kernel-doc warnings.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Arnaldo Carvalho de Melo

    Randy Dunlap
     
  • skb_prev is assigned from skb, which cannot be NULL. This patch removes the
    unnecessary NULL check.

    Signed-off-by: Jayachandran C.
    Acked-by: James Morris
    Signed-off-by: Arnaldo Carvalho de Melo

    Jayachandran C
     
  • Remove the variable nlk & call to nlk_sk as it does not have any side effect.

    Signed-off-by: Jayachandran C.
    Acked-by: James Morris
    Signed-off-by: Arnaldo Carvalho de Melo

    Jayachandran C
     
  • Now that we've switched over to storing MTUs in the xfrm_dst entries,
    we no longer need the dst's get_mss methods. This patch gets rid of
    them.

    It also documents the fact that our MTU calculation is not optimal
    for ESP.

    Signed-off-by: Herbert Xu
    Signed-off-by: Arnaldo Carvalho de Melo

    Herbert Xu
     
  • This patch kills a redundant rcu_dereference on fa->fa_info in fib_trie.c.
    As this dereference directly follows a list_for_each_entry_rcu line, we
    have already taken a read barrier with respect to getting an entry from
    the list.

    This read barrier guarantees that all values read out of fa are valid.
    In particular, the contents of structure pointed to by fa->fa_info is
    initialised before fa->fa_info is actually set (see fn_trie_insert);
    the setting of fa->fa_info itself is further separated with a write
    barrier from the insertion of fa into the list.

    Therefore by taking a read barrier after obtaining fa from the list
    (which is given by list_for_each_entry_rcu), we can be sure that
    fa->fa_info contains a valid pointer, as well as the fact that the
    data pointed to by fa->fa_info is itself valid.

    Signed-off-by: Herbert Xu
    Acked-by: Paul E. McKenney
    Signed-off-by: David S. Miller
    Signed-off-by: Arnaldo Carvalho de Melo

    Herbert Xu
     
  • It's fairly simple to resize the hash table, but currently you need to
    remove and reinsert the module. That's bad (we lose connection
    state). Harald has even offered to write a daemon which sets this
    based on load.

    Signed-off-by: Rusty Russell
    Signed-off-by: Harald Welte
    Signed-off-by: Arnaldo Carvalho de Melo

    Harald Welte
     
  • The code to handle the /proc interface can be cleaned up in several places:
    * use seq_file for read
    * don't need to remember all the filenames separately
    * use for_online_cpu's
    * don't vmalloc a buffer for small command from user.

    Committer note:
    This patch clashed with John Hawkes's "[NET]: Wider use of for_each_*cpu()",
    so I fixed it up manually.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Robert Olsson
    Signed-off-by: David S. Miller
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephen Hemminger