diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-10 17:26:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 17:26:00 -0500 |
commit | 33175d84ee3fa29991adb80513683e010769e807 (patch) | |
tree | 3731f61cf82451b6892cf1368701e57e35d92908 /net/ipv4/devinet.c | |
parent | c5908939b2738bafe1b309bc2465cb9f2e6184c5 (diff) | |
parent | 6dfbd87a20a737641ef228230c77f4262434fa24 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/bnx2x/bnx2x_cmn.c
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index ff53860d1e56..6d85800daeb7 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -741,7 +741,7 @@ int devinet_ioctl(struct net *net, unsigned int cmd, void __user *arg) | |||
741 | ifap = &ifa->ifa_next) { | 741 | ifap = &ifa->ifa_next) { |
742 | if (!strcmp(ifr.ifr_name, ifa->ifa_label) && | 742 | if (!strcmp(ifr.ifr_name, ifa->ifa_label) && |
743 | sin_orig.sin_addr.s_addr == | 743 | sin_orig.sin_addr.s_addr == |
744 | ifa->ifa_address) { | 744 | ifa->ifa_local) { |
745 | break; /* found */ | 745 | break; /* found */ |
746 | } | 746 | } |
747 | } | 747 | } |
@@ -1112,8 +1112,8 @@ static void inetdev_send_gratuitous_arp(struct net_device *dev, | |||
1112 | return; | 1112 | return; |
1113 | 1113 | ||
1114 | arp_send(ARPOP_REQUEST, ETH_P_ARP, | 1114 | arp_send(ARPOP_REQUEST, ETH_P_ARP, |
1115 | ifa->ifa_address, dev, | 1115 | ifa->ifa_local, dev, |
1116 | ifa->ifa_address, NULL, | 1116 | ifa->ifa_local, NULL, |
1117 | dev->dev_addr, NULL); | 1117 | dev->dev_addr, NULL); |
1118 | } | 1118 | } |
1119 | 1119 | ||