Skip to contentSkip to conversation

Fixes for the IEEE 802.15.4 code

GIT PULL New Dmitry Eremin-Solenikov 2 participants 5 messages Jun 29, 2009 – Jun 30, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Please pull three following patches, containing small fixes for the IEEE 802.15.4 code. The branch is based against net-next/master. Thank you.

The following changes since commit 28d0325ce6e0a52f53d8af687e6427fee59004d3:
Linus Torvalds (1):

        Linux 2.6.31-rc1

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git for-linus

Dmitry Eremin-Solenikov (3):
MAINTAINERS: ieee802154 lists are moderated for non-subscribers.
nl802154: fix Oops in ieee802154_nl_get_dev
nl802154: add module license and description

 MAINTAINERS              |    2 +-
 net/ieee802154/netlink.c |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/3 MAINTAINERS: ieee802154 lists are moderated for non-subscribers.

Note that our mailing list is moderated for non-subscribers.

---
 MAINTAINERS |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
MAINTAINERS +1 -1
index fa2a16d..28c150e 100644
@@ -2886,7 +2886,7 @@ P:	Dmitry Eremin-Solenikov
 M:	[email protected]
 P:	Sergey Lapin
 M:	[email protected]
-L:	[email protected]
+L:	[email protected] (moderated for non-subscribers)
 W:	http://apps.sourceforge.net/trac/linux-zigbee
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git
 S:	Maintained
Signature · 1 line
1.6.3.1
#2 lore raw

PATCH 2/3 nl802154: fix Oops in ieee802154_nl_get_dev

ieee802154_nl_get_dev() lacks check for the existance of the device that was returned by dev_get_XXX, thus resulting in Oops for non-existing devices. Fix it.

---
 net/ieee802154/netlink.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
net/ieee802154/netlink.c +3 -0
index 105ad10..332b947 100644
@@ -276,6 +276,9 @@ static struct net_device *ieee802154_nl_get_dev(struct genl_info *info)
 	else
 		return NULL;
 
+	if (!dev)
+		return NULL;
+
 	if (dev->type != ARPHRD_IEEE802154) {
 		dev_put(dev);
 		return NULL;
Signature · 1 line
1.6.3.1
#3 lore raw

PATCH 3/3 nl802154: add module license and description

---
 net/ieee802154/netlink.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
net/ieee802154/netlink.c +3 -0
index 332b947..27eda9f 100644
@@ -524,3 +524,6 @@ static void __exit ieee802154_nl_exit(void)
 }
 module_exit(ieee802154_nl_exit);
 
+MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("ieee 802.15.4 configuration interface");
+
Signature · 1 line
1.6.3.1
maintainer
#4 lore raw
In reply to Dmitry Eremin-Solenikov

From: Dmitry Eremin-Solenikov <[email protected]>
Date: Mon, 29 Jun 2009 19:02:12 +0400

Quoted 2 lines

Please pull three following patches, containing small fixes for the IEEE 802.15.4 code. The branch is based against net-next/master. Thank you.

...

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git for-linus

Pulled, thanks.