2009-06-29 15:02:54

by Dmitry Baryshkov

[permalink] [raw]
Subject: [GIT PULL] Fixes for the IEEE 802.15.4 code

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(-)


2009-06-29 15:03:11

by Dmitry Baryshkov

[permalink] [raw]
Subject: [PATCH 3/3] nl802154: add module license and description

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
---
net/ieee802154/netlink.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c
index 332b947..27eda9f 100644
--- a/net/ieee802154/netlink.c
+++ b/net/ieee802154/netlink.c
@@ -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");
+
--
1.6.3.1

2009-06-29 15:03:27

by Dmitry Baryshkov

[permalink] [raw]
Subject: [PATCH 1/3] MAINTAINERS: ieee802154 lists are moderated for non-subscribers.

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

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
---
MAINTAINERS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index fa2a16d..28c150e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
--
1.6.3.1

2009-06-29 15:03:38

by Dmitry Baryshkov

[permalink] [raw]
Subject: [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.

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
---
net/ieee802154/netlink.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c
index 105ad10..332b947 100644
--- a/net/ieee802154/netlink.c
+++ b/net/ieee802154/netlink.c
@@ -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;
--
1.6.3.1

2009-06-30 02:24:20

by David Miller

[permalink] [raw]
Subject: Re: [GIT PULL] Fixes for the IEEE 802.15.4 code

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

> 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.
...
> git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git for-linus

Pulled, thanks.