netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Fixes for the IEEE 802.15.4 code
@ 2009-06-29 15:02 Dmitry Eremin-Solenikov
  2009-06-29 15:02 ` [PATCH 1/3] MAINTAINERS: ieee802154 lists are moderated for non-subscribers Dmitry Eremin-Solenikov
  2009-06-30  2:24 ` [GIT PULL] Fixes for the IEEE 802.15.4 code David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Eremin-Solenikov @ 2009-06-29 15:02 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel, slapin

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] MAINTAINERS: ieee802154 lists are moderated for non-subscribers.
  2009-06-29 15:02 [GIT PULL] Fixes for the IEEE 802.15.4 code Dmitry Eremin-Solenikov
@ 2009-06-29 15:02 ` Dmitry Eremin-Solenikov
  2009-06-29 15:02   ` [PATCH 2/3] nl802154: fix Oops in ieee802154_nl_get_dev Dmitry Eremin-Solenikov
  2009-06-30  2:24 ` [GIT PULL] Fixes for the IEEE 802.15.4 code David Miller
  1 sibling, 1 reply; 5+ messages in thread
From: Dmitry Eremin-Solenikov @ 2009-06-29 15:02 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel, slapin

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

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 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:	dbaryshkov@gmail.com
 P:	Sergey Lapin
 M:	slapin@ossfans.org
-L:	linux-zigbee-devel@lists.sourceforge.net
+L:	linux-zigbee-devel@lists.sourceforge.net (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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] nl802154: fix Oops in ieee802154_nl_get_dev
  2009-06-29 15:02 ` [PATCH 1/3] MAINTAINERS: ieee802154 lists are moderated for non-subscribers Dmitry Eremin-Solenikov
@ 2009-06-29 15:02   ` Dmitry Eremin-Solenikov
  2009-06-29 15:02     ` [PATCH 3/3] nl802154: add module license and description Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Eremin-Solenikov @ 2009-06-29 15:02 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel, slapin

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 <dbaryshkov@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] nl802154: add module license and description
  2009-06-29 15:02   ` [PATCH 2/3] nl802154: fix Oops in ieee802154_nl_get_dev Dmitry Eremin-Solenikov
@ 2009-06-29 15:02     ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Eremin-Solenikov @ 2009-06-29 15:02 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel, slapin

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Fixes for the IEEE 802.15.4 code
  2009-06-29 15:02 [GIT PULL] Fixes for the IEEE 802.15.4 code Dmitry Eremin-Solenikov
  2009-06-29 15:02 ` [PATCH 1/3] MAINTAINERS: ieee802154 lists are moderated for non-subscribers Dmitry Eremin-Solenikov
@ 2009-06-30  2:24 ` David Miller
  1 sibling, 0 replies; 5+ messages in thread
From: David Miller @ 2009-06-30  2:24 UTC (permalink / raw)
  To: dbaryshkov; +Cc: netdev, linux-kernel, slapin

From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-30  2:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 15:02 [GIT PULL] Fixes for the IEEE 802.15.4 code Dmitry Eremin-Solenikov
2009-06-29 15:02 ` [PATCH 1/3] MAINTAINERS: ieee802154 lists are moderated for non-subscribers Dmitry Eremin-Solenikov
2009-06-29 15:02   ` [PATCH 2/3] nl802154: fix Oops in ieee802154_nl_get_dev Dmitry Eremin-Solenikov
2009-06-29 15:02     ` [PATCH 3/3] nl802154: add module license and description Dmitry Eremin-Solenikov
2009-06-30  2:24 ` [GIT PULL] Fixes for the IEEE 802.15.4 code David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).