From a42aa4d474e5859164a00bf451970fb58b676fcf Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 15 Jun 2013 12:25:05 +0200 Subject: backports: add ieee802154 This adds the ieee802154 subsystem. == ckmake-report.log == 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6.32 [ OK ] 10 2.6.33 [ OK ] 11 2.6.34 [ OK ] 12 2.6.35 [ OK ] 13 2.6.36 [ OK ] 14 2.6.37 [ OK ] 15 2.6.38 [ OK ] 16 2.6.39 [ OK ] 17 3.0.79 [ OK ] 18 3.1.10 [ OK ] 19 3.10-rc1 [ OK ] 20 3.2.45 [ OK ] 21 3.3.8 [ OK ] 22 3.4.46 [ OK ] 23 3.5.7 [ OK ] 24 3.6.11 [ OK ] 25 3.7.10 [ OK ] 26 3.8.13 [ OK ] 27 3.9.3 [ OK ] Signed-off-by: Hauke Mehrtens --- .../0001-netlink-portid/ieee802154.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 patches/collateral-evolutions/ieee802154/0001-netlink-portid/ieee802154.patch (limited to 'patches') diff --git a/patches/collateral-evolutions/ieee802154/0001-netlink-portid/ieee802154.patch b/patches/collateral-evolutions/ieee802154/0001-netlink-portid/ieee802154.patch new file mode 100644 index 00000000..e1c12edf --- /dev/null +++ b/patches/collateral-evolutions/ieee802154/0001-netlink-portid/ieee802154.patch @@ -0,0 +1,40 @@ +--- a/net/ieee802154/nl-mac.c ++++ b/net/ieee802154/nl-mac.c +@@ -549,7 +549,7 @@ static int ieee802154_list_iface(struct + if (!msg) + goto out_dev; + +- rc = ieee802154_nl_fill_iface(msg, info->snd_portid, info->snd_seq, ++ rc = ieee802154_nl_fill_iface(msg, genl_info_snd_portid(info), info->snd_seq, + 0, dev); + if (rc < 0) + goto out_free; +@@ -580,7 +580,7 @@ static int ieee802154_dump_iface(struct + if (idx < s_idx || (dev->type != ARPHRD_IEEE802154)) + goto cont; + +- if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid, ++ if (ieee802154_nl_fill_iface(skb, NETLINK_CB_PORTID(cb->skb), + cb->nlh->nlmsg_seq, NLM_F_MULTI, dev) < 0) + break; + cont: +--- a/net/ieee802154/nl-phy.c ++++ b/net/ieee802154/nl-phy.c +@@ -105,7 +105,7 @@ static int ieee802154_list_phy(struct sk + if (!msg) + goto out_dev; + +- rc = ieee802154_nl_fill_phy(msg, info->snd_portid, info->snd_seq, ++ rc = ieee802154_nl_fill_phy(msg, genl_info_snd_portid(info), info->snd_seq, + 0, phy); + if (rc < 0) + goto out_free; +@@ -138,7 +138,7 @@ static int ieee802154_dump_phy_iter(stru + return 0; + + rc = ieee802154_nl_fill_phy(data->skb, +- NETLINK_CB(data->cb->skb).portid, ++ NETLINK_CB_PORTID(data->cb->skb), + data->cb->nlh->nlmsg_seq, + NLM_F_MULTI, + phy); -- cgit v1.2.3