All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] CAN sk_buff and can-gw enhancements
@ 2013-01-17 17:43 Oliver Hartkopp
  2013-01-22 21:41 ` Marc Kleine-Budde
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Hartkopp @ 2013-01-17 17:43 UTC (permalink / raw)
  To: linux-can

From 0cb44d2bda7d3aeb96ce45eb7ee24a139bf40f78 Mon Sep 17 00:00:00 2001
From: Oliver Hartkopp <socketcan@hartkopp.net>
Date: Thu, 17 Jan 2013 17:51:48 +0100
Subject: [PATCH 0/4] CAN sk_buff and can-gw enhancements

Hi all,

after the discussion with DaveM about the skb_iif usage here's my alternative
to support the new can-gw functionalities:

- make routing to the incoming CAN interface configurable
- add a variable limit for CAN frame routings
- indicate and count deleted frames due to misconfiguration

I added some private space to CAN sk_buffs. See commit messages.

It can be pulled from the cangw branch of ollis-can-next:

https://gitorious.org/~hartkopp/linux-can/ollis-can-next/commits/cangw

Regards,
Oliver

Oliver Hartkopp (4):
  can: add private data space for CAN sk_buffs
  can-gw: make routing to the incoming CAN interface configurable
  can-gw: add a variable limit for CAN frame routings
  can-gw: indicate and count deleted frames due to misconfiguration

 drivers/net/can/dev.c       |    8 ++++-
 drivers/net/can/slcan.c     |    8 ++++-
 include/linux/can/skb.h     |   35 ++++++++++++++++++++
 include/uapi/linux/can/gw.h |    2 ++
 net/can/bcm.c               |   12 +++++--
 net/can/gw.c                |   74 +++++++++++++++++++++++++++++++++----------
 net/can/raw.c               |    8 +++--
 7 files changed, 124 insertions(+), 23 deletions(-)
 create mode 100644 include/linux/can/skb.h

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/4] CAN sk_buff and can-gw enhancements
  2013-01-17 17:43 [PATCH 0/4] CAN sk_buff and can-gw enhancements Oliver Hartkopp
@ 2013-01-22 21:41 ` Marc Kleine-Budde
  2013-01-22 22:12   ` Marc Kleine-Budde
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2013-01-22 21:41 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-can

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

On 01/17/2013 06:43 PM, Oliver Hartkopp wrote:
> From 0cb44d2bda7d3aeb96ce45eb7ee24a139bf40f78 Mon Sep 17 00:00:00 2001
> From: Oliver Hartkopp <socketcan@hartkopp.net>
> Date: Thu, 17 Jan 2013 17:51:48 +0100
> Subject: [PATCH 0/4] CAN sk_buff and can-gw enhancements
> 
> Hi all,
> 
> after the discussion with DaveM about the skb_iif usage here's my alternative
> to support the new can-gw functionalities:
> 
> - make routing to the incoming CAN interface configurable
> - add a variable limit for CAN frame routings
> - indicate and count deleted frames due to misconfiguration
> 
> I added some private space to CAN sk_buffs. See commit messages.
> 
> It can be pulled from the cangw branch of ollis-can-next:
> 
> https://gitorious.org/~hartkopp/linux-can/ollis-can-next/commits/cangw

Applied.

Tnx,
Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/4] CAN sk_buff and can-gw enhancements
  2013-01-22 21:41 ` Marc Kleine-Budde
@ 2013-01-22 22:12   ` Marc Kleine-Budde
  2013-01-23  9:14     ` Oliver Hartkopp
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2013-01-22 22:12 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-can

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

On 01/22/2013 10:41 PM, Marc Kleine-Budde wrote:
> On 01/17/2013 06:43 PM, Oliver Hartkopp wrote:
>> From 0cb44d2bda7d3aeb96ce45eb7ee24a139bf40f78 Mon Sep 17 00:00:00 2001
>> From: Oliver Hartkopp <socketcan@hartkopp.net>
>> Date: Thu, 17 Jan 2013 17:51:48 +0100
>> Subject: [PATCH 0/4] CAN sk_buff and can-gw enhancements
>>
>> Hi all,
>>
>> after the discussion with DaveM about the skb_iif usage here's my alternative
>> to support the new can-gw functionalities:
>>
>> - make routing to the incoming CAN interface configurable
>> - add a variable limit for CAN frame routings
>> - indicate and count deleted frames due to misconfiguration
>>
>> I added some private space to CAN sk_buffs. See commit messages.
>>
>> It can be pulled from the cangw branch of ollis-can-next:
>>
>> https://gitorious.org/~hartkopp/linux-can/ollis-can-next/commits/cangw
> 
> Applied.

BTW: try to use git send-email to send your patches, it's easier than to
use thunderbird and git am works better.

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/4] CAN sk_buff and can-gw enhancements
  2013-01-22 22:12   ` Marc Kleine-Budde
@ 2013-01-23  9:14     ` Oliver Hartkopp
  2013-01-23  9:20       ` Marc Kleine-Budde
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Hartkopp @ 2013-01-23  9:14 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can

On 22.01.2013 23:12, Marc Kleine-Budde wrote:


> 
> BTW: try to use git send-email to send your patches, it's easier than to
> use thunderbird and git am works better.
> 


I was in hurry that day and tried to get my IMAP mail account working with
git. After 2h of failures i copy/pasted the four output files of

	git format-patch --cover-letter

by hand into thunderbird.

Sigh :-(

Will need to spend some more time for that ...


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/4] CAN sk_buff and can-gw enhancements
  2013-01-23  9:14     ` Oliver Hartkopp
@ 2013-01-23  9:20       ` Marc Kleine-Budde
  0 siblings, 0 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2013-01-23  9:20 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-can

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On 01/23/2013 10:14 AM, Oliver Hartkopp wrote:
> On 22.01.2013 23:12, Marc Kleine-Budde wrote:
> 
> 
>>
>> BTW: try to use git send-email to send your patches, it's easier than to
>> use thunderbird and git am works better.
>>
> 
> 
> I was in hurry that day and tried to get my IMAP mail account working with
> git. After 2h of failures i copy/pasted the four output files of
> 
> 	git format-patch --cover-letter
> 
> by hand into thunderbird.
> 
> Sigh :-(
> 
> Will need to spend some more time for that ...

Have a look at the bottom of the git-sendemail manpage, add this to your
~/.gitconfig

           [sendemail]
                   smtpencryption = tls
                   smtpserver = smtp.gmail.com
                   smtpuser = yourname@gmail.com
                   smtpserverport = 587

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-23  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 17:43 [PATCH 0/4] CAN sk_buff and can-gw enhancements Oliver Hartkopp
2013-01-22 21:41 ` Marc Kleine-Budde
2013-01-22 22:12   ` Marc Kleine-Budde
2013-01-23  9:14     ` Oliver Hartkopp
2013-01-23  9:20       ` Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.