]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: Make a copy of skb's delivered to 6lowpan
authorAlan Ott <alan@signal11.us>
Sat, 1 Sep 2012 05:57:06 +0000 (05:57 +0000)
committerDavid S. Miller <davem@tempietto.lan>
Sun, 2 Sep 2012 02:48:01 +0000 (22:48 -0400)
commitfbdc5b6806dc5414646345b035707c8e45816b1a
tree9d83ef2dcca22e73cb0638ccf6512a884f3878b5
parent6c339ad27eaefa95668fa7ff953ae25a4eef55ad
6lowpan: Make a copy of skb's delivered to 6lowpan

Since lowpan_process_data() modifies the skb (by calling skb_pull()), we
need our own copy so that it doesn't affect the data received by other
protcols (in this case, af_ieee802154).

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@tempietto.lan>
net/ieee802154/6lowpan.c