diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-12 16:31:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-12 16:31:22 -0400 |
commit | e1bd2ac5a6b7a8b625e40c9e9f8b6dea4cf22f85 (patch) | |
tree | 9366e9fb481da2c7195ca3f2bafeffebbf001363 /net/decnet/dn_dev.c | |
parent | 0b9062f6b57a87f22309c6b920a51aaa66ce2a13 (diff) | |
parent | 15028aad00ddf241581fbe74a02ec89cbb28d35d (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (183 commits)
[TG3]: Update version to 3.78.
[TG3]: Add missing NVRAM strapping.
[TG3]: Enable auto MDI.
[TG3]: Fix the polarity bit.
[TG3]: Fix irq_sync race condition.
[NET_SCHED]: ematch: module autoloading
[TCP]: tcp probe wraparound handling and other changes
[RTNETLINK]: rtnl_link: allow specifying initial device address
[RTNETLINK]: rtnl_link API simplification
[VLAN]: Fix MAC address handling
[ETH]: Validate address in eth_mac_addr
[NET]: Fix races in net_rx_action vs netpoll.
[AF_UNIX]: Rewrite garbage collector, fixes race.
[NETFILTER]: {ip, nf}_conntrack_sctp: fix remotely triggerable NULL ptr dereference (CVE-2007-2876)
[NET]: Make all initialized struct seq_operations const.
[UDP]: Fix length check.
[IPV6]: Remove unneeded pointer idev from addrconf_cleanup().
[DECNET]: Another unnecessary net/tcp.h inclusion in net/dn.h
[IPV6]: Make IPV6_{RECV,2292}RTHDR boolean options.
[IPV6]: Do not send RH0 anymore.
...
Fixed up trivial conflict in Documentation/feature-removal-schedule.txt
manually.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/decnet/dn_dev.c')
-rw-r--r-- | net/decnet/dn_dev.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index ab41c1879fd4..fa6604fcf0e7 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -461,7 +461,6 @@ static int dn_dev_insert_ifa(struct dn_dev *dn_db, struct dn_ifaddr *ifa) | |||
461 | if (ifa->ifa_local != dn_eth2dn(dev->dev_addr)) { | 461 | if (ifa->ifa_local != dn_eth2dn(dev->dev_addr)) { |
462 | dn_dn2eth(mac_addr, ifa->ifa_local); | 462 | dn_dn2eth(mac_addr, ifa->ifa_local); |
463 | dev_mc_add(dev, mac_addr, ETH_ALEN, 0); | 463 | dev_mc_add(dev, mac_addr, ETH_ALEN, 0); |
464 | dev_mc_upload(dev); | ||
465 | } | 464 | } |
466 | } | 465 | } |
467 | 466 | ||
@@ -1064,8 +1063,6 @@ static int dn_eth_up(struct net_device *dev) | |||
1064 | else | 1063 | else |
1065 | dev_mc_add(dev, dn_rt_all_rt_mcast, ETH_ALEN, 0); | 1064 | dev_mc_add(dev, dn_rt_all_rt_mcast, ETH_ALEN, 0); |
1066 | 1065 | ||
1067 | dev_mc_upload(dev); | ||
1068 | |||
1069 | dn_db->use_long = 1; | 1066 | dn_db->use_long = 1; |
1070 | 1067 | ||
1071 | return 0; | 1068 | return 0; |
@@ -1419,7 +1416,7 @@ static int dn_dev_seq_show(struct seq_file *seq, void *v) | |||
1419 | return 0; | 1416 | return 0; |
1420 | } | 1417 | } |
1421 | 1418 | ||
1422 | static struct seq_operations dn_dev_seq_ops = { | 1419 | static const struct seq_operations dn_dev_seq_ops = { |
1423 | .start = dn_dev_seq_start, | 1420 | .start = dn_dev_seq_start, |
1424 | .next = dn_dev_seq_next, | 1421 | .next = dn_dev_seq_next, |
1425 | .stop = dn_dev_seq_stop, | 1422 | .stop = dn_dev_seq_stop, |