6lowpan: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Fri, 20 Jan 2017 14:36:53 +0000 (22:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:46:13 +0000 (16:46 -0500)
commit530cef21d98930c4d10f188325e00330455d216d
tree2592fa3f82ba2db1113490113a04ebf712392f3a
parent9a549c1e35b0a363c3b46b9a08009252c5bc32c3
6lowpan: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/6lowpan/nhc.c