]>
rtime.felk.cvut.cz Git - socketcan-devel.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
bet-frogger [Sun, 11 Jun 2006 16:56:36 +0000 (16:56 +0000)]
This patch fixes a return with held lock problem in the
can_rx_register() function.
If the malloc fails, the function was left without giving back the
lock, the patch gotos to out (where the lock is dropped) instead of
returning.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@27
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:55:36 +0000 (16:55 +0000)]
This patch fixes the kmalloc call in can_dev_register(), where the GFP
and the size argument were swapped.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@26
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:53:29 +0000 (16:53 +0000)]
This patch adds __user address space qualifiers to the dev_ioctl call
in can_ioctl();
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@25
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:52:16 +0000 (16:52 +0000)]
his patch adds __user address space qualifiers to the
raw_{s,g}etsockopt() functions as well as to thier prototypes.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@24
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 9 Jun 2006 10:26:34 +0000 (10:26 +0000)]
changed indentation to 8, other white space changes.
removed a couple misplaced ';' after function bodies.
bcm.c stills needs some work to reduce line lengths.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@23
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 7 Jun 2006 14:08:41 +0000 (14:08 +0000)]
!!! Changed protocol order in af_can.h.
Added comments to Kconfig. Cosmetics.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@22
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Fri, 2 Jun 2006 20:42:06 +0000 (20:42 +0000)]
re-introduced ARPHRD_CAN.
Changed PF_CAN value from 30 to 29 as 30 is already used in current socket.h in the kernel.
Added comments.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@21
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Fri, 2 Jun 2006 10:49:55 +0000 (10:49 +0000)]
convert can_sys_clock in can_device to be Hz based
git-svn-id: svn://svn.berlios.de//socketcan/trunk@20
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 22:16:26 +0000 (22:16 +0000)]
Moved can_device.* to a right place
git-svn-id: svn://svn.berlios.de//socketcan/trunk@19
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 31 May 2006 20:02:08 +0000 (20:02 +0000)]
cleaned up can_ioctl.h / can.h
removed ARPHRD_CAN with ARPHRD_NONE (CAN has no ARP!)
git-svn-id: svn://svn.berlios.de//socketcan/trunk@18
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Wed, 31 May 2006 18:53:49 +0000 (18:53 +0000)]
remove inclusion of version.h from header files.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@17
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 16:33:17 +0000 (16:33 +0000)]
fix formatting
git-svn-id: svn://svn.berlios.de//socketcan/trunk@16
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 16:15:52 +0000 (16:15 +0000)]
Added can_bittime type
git-svn-id: svn://svn.berlios.de//socketcan/trunk@15
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 13:58:16 +0000 (13:58 +0000)]
fix $ keyword
git-svn-id: svn://svn.berlios.de//socketcan/trunk@14
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 13:39:37 +0000 (13:39 +0000)]
Added can_device type
git-svn-id: svn://svn.berlios.de//socketcan/trunk@13
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Tue, 30 May 2006 15:12:53 +0000 (15:12 +0000)]
New files
git-svn-id: svn://svn.berlios.de//socketcan/trunk@12
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 29 May 2006 08:05:26 +0000 (08:05 +0000)]
fix and complete rcv list locking.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@11
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 12 May 2006 02:57:54 +0000 (02:57 +0000)]
Security fix:
- allow raw sockets only with CAP_NET_RAW.
- clear skbuff data before writing CAN frame to it in order to avoid passing
random bytes to user space.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@10
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Thu, 11 May 2006 09:19:16 +0000 (09:19 +0000)]
added CAN error frame support.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@9
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 11 May 2006 07:59:37 +0000 (07:59 +0000)]
add Id to svn:keywords property.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@8
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 4 May 2006 19:21:26 +0000 (19:21 +0000)]
copy version.h to sja1000 driver directory.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@7
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 4 May 2006 19:16:57 +0000 (19:16 +0000)]
move some include files.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@6
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 4 May 2006 18:41:31 +0000 (18:41 +0000)]
changed to new directory structure.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@5
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 26 Apr 2006 10:43:33 +0000 (10:43 +0000)]
* Rearrange 2.6 subtree for a better compatibility with the vanilla kernel.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@4
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 25 Apr 2006 11:15:58 +0000 (11:15 +0000)]
fix version code.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@3
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 24 Apr 2006 14:21:08 +0000 (14:21 +0000)]
Port kernel code to linux-2.6
git-svn-id: svn://svn.berlios.de//socketcan/trunk@2
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 24 Apr 2006 14:14:09 +0000 (14:14 +0000)]
Initial import of llcf-2.0-pre2
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1
030b6a49 -0b11-0410-94ab-
b0dab22257f2