diff options
author | David S. Miller <davem@davemloft.net> | 2009-06-29 22:23:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-29 22:23:53 -0400 |
commit | 9c0346bd0891eb009f5cd08b868ff41c65804dbe (patch) | |
tree | 51dcbdfc4895e81f60f37fe2e5b59b1207fe5c2b | |
parent | 53bd9728bf9be7fc3b3147e821dbeb71d767c354 (diff) | |
parent | dfd06fe8246c0425f8d6850b8e2c872b0d691ec3 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan
-rw-r--r-- | MAINTAINERS | 2 | ||||
-rw-r--r-- | net/ieee802154/netlink.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index fa2a16def17a..28c150e916a2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -2886,7 +2886,7 @@ P: Dmitry Eremin-Solenikov | |||
2886 | M: dbaryshkov@gmail.com | 2886 | M: dbaryshkov@gmail.com |
2887 | P: Sergey Lapin | 2887 | P: Sergey Lapin |
2888 | M: slapin@ossfans.org | 2888 | M: slapin@ossfans.org |
2889 | L: linux-zigbee-devel@lists.sourceforge.net | 2889 | L: linux-zigbee-devel@lists.sourceforge.net (moderated for non-subscribers) |
2890 | W: http://apps.sourceforge.net/trac/linux-zigbee | 2890 | W: http://apps.sourceforge.net/trac/linux-zigbee |
2891 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git | 2891 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git |
2892 | S: Maintained | 2892 | S: Maintained |
diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c index 105ad10876af..27eda9fdf3c2 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) | |||
276 | else | 276 | else |
277 | return NULL; | 277 | return NULL; |
278 | 278 | ||
279 | if (!dev) | ||
280 | return NULL; | ||
281 | |||
279 | if (dev->type != ARPHRD_IEEE802154) { | 282 | if (dev->type != ARPHRD_IEEE802154) { |
280 | dev_put(dev); | 283 | dev_put(dev); |
281 | return NULL; | 284 | return NULL; |
@@ -521,3 +524,6 @@ static void __exit ieee802154_nl_exit(void) | |||
521 | } | 524 | } |
522 | module_exit(ieee802154_nl_exit); | 525 | module_exit(ieee802154_nl_exit); |
523 | 526 | ||
527 | MODULE_LICENSE("GPL v2"); | ||
528 | MODULE_DESCRIPTION("ieee 802.15.4 configuration interface"); | ||
529 | |||