linux/arch
Jeff Dike 7d98230a73 uml: network and pcap cleanup
Some network device cleanup.

When setup_etheraddr found a globally valid MAC being assigned to an
interface, it went ahead and used it rather than assigning a random MAC like
the other cases do.  This isn't really an error like the others, but it seems
consistent to make it behave the same.

We were getting some duplicate kfree() in the error case in eth_configure
because platform_device_unregister frees buffers that the error cases
following tried to free again.

The pcap initialization routine wasn't doing the proper printk of its
information, causing a printk of the first part of that line to be
unterminated by a newline.

The pcap code had a bunch of style violations, which are now fixed.

pcap_setup wasn't returning false when it detected an unrecognized
option.

The printks in pcap_user all got UM_KERN_BLAH prepended to their
format strings.

pcap_remove now checks for a non-NULL pcap structure before it calls
pcap_close.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:20 -07:00
..
alpha utimensat implementation 2007-05-08 11:15:18 -07:00
arm header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
arm26 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
avr32 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
blackfin blackfin architecture 2007-05-07 12:12:58 -07:00
cris dma_declare_coherent_memory wrong allocation 2007-05-08 11:15:14 -07:00
frv header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
h8300 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
i386 Kprobes: The ON/OFF knob thru debugfs 2007-05-08 11:15:19 -07:00
ia64 Kprobes: The ON/OFF knob thru debugfs 2007-05-08 11:15:19 -07:00
m32r header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
m68k header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
m68knommu header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
mips Replace deprecated SA_xxx interrupt flags 2007-05-08 11:15:08 -07:00
parisc Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
powerpc Kprobes: The ON/OFF knob thru debugfs 2007-05-08 11:15:19 -07:00
ppc header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
s390 Kprobes: The ON/OFF knob thru debugfs 2007-05-08 11:15:19 -07:00
sh header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sh64 Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
sparc header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sparc64 utimensat implementation 2007-05-08 11:15:18 -07:00
um uml: network and pcap cleanup 2007-05-08 11:15:20 -07:00
v850 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
x86_64 Kprobes: The ON/OFF knob thru debugfs 2007-05-08 11:15:19 -07:00
xtensa header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00