From: Alexander Aring <alex.aring@gmail.com>
To: Martin Townsend <martin.townsend@xsilon.com>
Cc: linux-wpan@vger.kernel.org
Subject: Re: skb free patches
Date: Tue, 4 Nov 2014 15:19:39 +0100 [thread overview]
Message-ID: <20141104141936.GC643@omega> (raw)
In-Reply-To: <5458D90B.70206@xsilon.com>
Hi Martin,
sorry, I didn't notice this mail.
On Tue, Nov 04, 2014 at 01:47:55PM +0000, Martin Townsend wrote:
> Hi Alex,
>
> Any thoughts on this?
>
go ahead and just send patches. For the future I want to change the
802.15.4 6LoWPAN to a common solution. We should do it like 802.15.4
parsing. Not like current mainline, we should do it like frame parsing
in the rework branch [0]. I stole this kind of frame parsing mechanism
from mac80211. For adaptation in 6LoWPAN just replace the 802.15.4 frame
type to the 6LoWPAN dispatch value and you will get something like this
[1].
Nevertheless your solution to have a kfree_skb outside of
iphc_decompress is welcome here. Because the CALL_RXH function returns
on failure 'RX_DROP_UNUSABLE' and hits the handler result function [3]
which runs kfree_skb there.
For now to prepare this outside I will ack this patch. But we are not
alone anymore this needs also an ack from Jukka Rissanen. Check out:
./scripts/get_maintainer.pl -f net/6lowpan
This architecture change need to be acked from both L2 branches which
use 6LoWPAN. Please tag your patch with "6lowpan: $MY_GREAT_CHANGE" and
send it to linux-wpan and linux-bluetooth mailinglist, you can get all
cc members with:
./scripts/get_maintainer.pl -f net/6lowpan
or
./scripts/get_maintainer.pl $MY_GREAT_PACH_FILE
- Alex
[0] https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/mac802154/rx.c
[1] https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c#L174
[3] https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c#L27
prev parent reply other threads:[~2014-11-04 14:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 21:43 skb free patches Martin Townsend
[not found] ` <5458D90B.70206@xsilon.com>
2014-11-04 14:19 ` Alexander Aring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141104141936.GC643@omega \
--to=alex.aring@gmail.com \
--cc=linux-wpan@vger.kernel.org \
--cc=martin.townsend@xsilon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).