03 Feb, 2010
2 commits
-
Use atomic_inc_return() in get_acqseq() to avoid taking a spinlock
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller
02 Feb, 2010
3 commits
-
This is very simple IrDA SIR driver for SuperH.
This driver was tested by irdaping/ircp on SH7724 EcoVec24 boardSigned-off-by: Kuninori Morimoto
Signed-off-by: David S. Miller -
Almost all igmp functions accessing inet->mc_list are protected by
rtnl_lock(), but there is one exception which is ip_mc_sf_allow(),
so there is a chance of either ip_mc_drop_socket or ip_mc_leave_group
remove an entry while ip_mc_sf_allow is running causing a crash.Signed-off-by: Flavio Leitner
Signed-off-by: David S. Miller -
In commit 20dd3850bcf860561496827b711fa10fecf6e787 "can: Speed up CAN frame
receiption by using ml_priv" the formerly used hlist of receiver lists for
each CAN netdevice has been replaced.The hlist content ensured only CAN netdevices to be accessed by the
can_rx_(un)register() functions which accidently dropped away together with
the hlist receiver implementation.This patch re-introduces the check for CAN netdevices in can_rx_(un)register().
Signed-off-by: Oliver Hartkopp
Signed-off-by: David S. Miller
01 Feb, 2010
13 commits
-
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dx
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove DRV_NAME and xircom_cb from pr_
Convert embedded function names in logging messages to %s, __func__Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dx
Convert %d.%d.%d.%d to %pI4Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dx
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove DRV_NAME from logging messages
Add do {} while(0) to ULI526X_DBUG macro
Make SHOW_MEDIA_TYPE macro more readableSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dx
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove 'DRV_NAME ": ' from logging messages
Convert commented out printks to pr_debugSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where a dev is available
Convert printks to pr_ where not
Coalesce format strings
Change print formats with %d.dx to %0dxSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert printks to dev_ where appropriate
Convert printks to pr_
Change print formats with %d.dx to %0dx
Coalesce long formatsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller
29 Jan, 2010
1 commit
-
This adds an additional queuing strategy, called pfifo_head_drop,
to remove the oldest skb in the case of an overflow within the queue -
the head element - instead of the last skb (tail). To remove the oldest
skb in congested situations is useful for sensor network environments
where newer packets reflect the superior information.Reviewed-by: Florian Westphal
Acked-by: Patrick McHardy
Signed-off-by: Hagen Paul Pfeifer
Signed-off-by: David S. Miller
28 Jan, 2010
14 commits
-
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
I'm not sure about rcu stuff near kmem cache destruction:
* checks for non-empty hashes look bogus, they're done _before_
rcu_berrier()
* unregistering netns ops is done before kmem_cache destoy
(as it should), and unregistering involves rcu barriers by itselfSo it looks nothing should be done.
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
Signed-off-by: Stephen Rothwell
Signed-off-by: David S. Miller -
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
The convention for API functions in kernel is to return errno value;
bond_open would return -1 if alb setup failed. The only reason that
could happen is if kmalloc() failed.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Call ixgbe_copy_dcb_cfg() earlier in the ixgbe_dcbnl_set_all() so that
we can learn if this is going to fail as early as possible. Previously,
ixgbe_down or ixgbe_close were being called before this check and the
IXGBE_RESETTING bit was being set and cleared. Worse if this failed
the corresponding ixgbe_up/ndo_open would not called.Signed-off-by: John Fastabend
Acked-by: PJ Waskiewicz
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Set the correct bit BIT_PG_TX when tx PG settings are set.
Signed-off-by: John Fastabend
Acked-by: PJ Waskiewicz
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This change fixes an issue in igbvf with mapped_as_page being left set
after a page is unmapped which results in buffers which are mapped via map
single being unmapped as page.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Hello David Miller,
I fix a bug in ks8851_mll driver, which has existed since 2.6.32-rc6.
>From : David J. Choi
Fix a bug that the data pointers in the interrupt handler are set wrong, which is related with the 5th parameter of request_irq().
Signed-off-by : David J. Choi
Signed-off-by: David S. Miller
-
Bug fix in be2net for newer generation of BladeEngine ASIC.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
27 Jan, 2010
7 commits
-
Move "mpoa:%s: ", __func__/__FILE__ to #defines
Remove mpoa __func__/__FILE__ from dprintk uses
Add and use #define dprint_cont where appropriateSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Reduce indentation in lec_arp_check_expire
Indent a case label
Remove != NULL logical tests from while ((skb = foo())) assign and testsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Convert #include
Signed-off-by: David S. Miller -
Mostly 80 column wrapped.
Move embedded assigns out of tests
Move trailing statements to new lines
switch/case cleanupsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Spacing cleanups
Mostly 80 column wrapped.
Move embedded assigns out of tests
Move trailing statements to new lines
switch/case cleanupsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Spacing cleanups
Mostly 80 column wrapped.Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Spacing cleanups
Mostly 80 column wrapped.
Move trailing statements to new linesSigned-off-by: Joe Perches
Signed-off-by: David S. Miller