br_netlink.c (55fa518867978e1f5fd8353098f80d125ac734d7) | br_netlink.c (1ce85fe402137824246bad03ff85f3913d565c17) |
---|---|
1/* 2 * Bridge netlink control interface 3 * 4 * Authors: 5 * Stephen Hemminger <shemminger@osdl.org> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 84 unchanged lines hidden (view full) --- 93 94 err = br_fill_ifinfo(skb, port, 0, 0, event, 0); 95 if (err < 0) { 96 /* -EMSGSIZE implies BUG in br_nlmsg_size() */ 97 WARN_ON(err == -EMSGSIZE); 98 kfree_skb(skb); 99 goto errout; 100 } | 1/* 2 * Bridge netlink control interface 3 * 4 * Authors: 5 * Stephen Hemminger <shemminger@osdl.org> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 84 unchanged lines hidden (view full) --- 93 94 err = br_fill_ifinfo(skb, port, 0, 0, event, 0); 95 if (err < 0) { 96 /* -EMSGSIZE implies BUG in br_nlmsg_size() */ 97 WARN_ON(err == -EMSGSIZE); 98 kfree_skb(skb); 99 goto errout; 100 } |
101 err = rtnl_notify(skb, net, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC); | 101 rtnl_notify(skb, net, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC); 102 return; |
102errout: 103 if (err < 0) 104 rtnl_set_sk_err(net, RTNLGRP_LINK, err); 105} 106 107/* 108 * Dump information about all ports, in response to GETLINK 109 */ --- 91 unchanged lines hidden --- | 103errout: 104 if (err < 0) 105 rtnl_set_sk_err(net, RTNLGRP_LINK, err); 106} 107 108/* 109 * Dump information about all ports, in response to GETLINK 110 */ --- 91 unchanged lines hidden --- |