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)
commita437d2744b0a4e5f405f6b9be284eb9e0a2d7741
tree9d83ef2dcca22e73cb0638ccf6512a884f3878b5
parent1bed966cc3bd4042110129f0fc51aeeb59c5b200
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