aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-03-25 20:29:20 -0400
committerDavid S. Miller <davem@davemloft.net>2014-03-25 20:29:20 -0400
commit04f58c88542b6b351efb4eea01134eb672e22e6e (patch)
tree47bb617212f8c8951f35730e324bdc43487a01ca /net/core
parent0fc31966035d7a540c011b6c967ce8eae1db121b (diff)
parent632b06aa2842b12c6d6a510ec080fb6ebdb38ea5 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: Documentation/devicetree/bindings/net/micrel-ks8851.txt net/core/netpoll.c The net/core/netpoll.c conflict is a bug fix in 'net' happening to code which is completely removed in 'net-next'. In micrel-ks8851.txt we simply have overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/rtnetlink.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index fc122fdb266a..e7c6006bc3ea 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -2126,12 +2126,13 @@ EXPORT_SYMBOL(rtmsg_ifinfo);
2126static int nlmsg_populate_fdb_fill(struct sk_buff *skb, 2126static int nlmsg_populate_fdb_fill(struct sk_buff *skb,
2127 struct net_device *dev, 2127 struct net_device *dev,
2128 u8 *addr, u32 pid, u32 seq, 2128 u8 *addr, u32 pid, u32 seq,
2129 int type, unsigned int flags) 2129 int type, unsigned int flags,
2130 int nlflags)
2130{ 2131{
2131 struct nlmsghdr *nlh; 2132 struct nlmsghdr *nlh;
2132 struct ndmsg *ndm; 2133 struct ndmsg *ndm;
2133 2134
2134 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), NLM_F_MULTI); 2135 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags);
2135 if (!nlh) 2136 if (!nlh)
2136 return -EMSGSIZE; 2137 return -EMSGSIZE;
2137 2138
@@ -2169,7 +2170,7 @@ static void rtnl_fdb_notify(struct net_device *dev, u8 *addr, int type)
2169 if (!skb) 2170 if (!skb)
2170 goto errout; 2171 goto errout;
2171 2172
2172 err = nlmsg_populate_fdb_fill(skb, dev, addr, 0, 0, type, NTF_SELF); 2173 err = nlmsg_populate_fdb_fill(skb, dev, addr, 0, 0, type, NTF_SELF, 0);
2173 if (err < 0) { 2174 if (err < 0) {
2174 kfree_skb(skb); 2175 kfree_skb(skb);
2175 goto errout; 2176 goto errout;
@@ -2394,7 +2395,8 @@ static int nlmsg_populate_fdb(struct sk_buff *skb,
2394 2395
2395 err = nlmsg_populate_fdb_fill(skb, dev, ha->addr, 2396 err = nlmsg_populate_fdb_fill(skb, dev, ha->addr,
2396 portid, seq, 2397 portid, seq,
2397 RTM_NEWNEIGH, NTF_SELF); 2398 RTM_NEWNEIGH, NTF_SELF,
2399 NLM_F_MULTI);
2398 if (err < 0) 2400 if (err < 0)
2399 return err; 2401 return err;
2400skip: 2402skip: