Jay Vosburgh
60ba834c2f
net/core: __hw_addr_unsync_one "from" address not marked synced
...
When an address is added to a subordinate interface (the "to"
list), the address entry in the "from" list is not marked "synced" as
the entry added to the "to" list is.
When performing the unsync operation (e.g., dev_mc_unsync),
__hw_addr_unsync_one calls __hw_addr_del_entry with the "synced"
parameter set to true for the case when the address reference is being
released from the "from" list. This causes a test inside to fail,
with the result being that the reference count on the "from" address
is not properly decremeted and the address on the "from" list will
never be freed.
Correct this by having __hw_addr_unsync_one call the
__hw_addr_del_entry function with the "sync" flag set to false for the
"remove from the from list" case.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Reviewed-by: Vlad Yasevich <vyasevic@redhat.com>
Tested-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-31 16:56:56 -07:00
..
9p
Lots of virtio work which wasn't quite ready for last merge window. Plus
2013-05-02 14:14:04 -07:00
802
net/802/mrp: fix lockdep splat
2013-05-14 13:02:30 -07:00
8021q
net: vlan,ethtool: netdev_features_t is more than 32 bit
2013-05-02 13:58:12 -04:00
appletalk
appletalk: info leak in ->getname()
2013-04-25 01:47:58 -04:00
atm
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2013-05-01 17:51:54 -07:00
ax25
batman-adv
batman-adv: Avoid double freeing of bat_counters
2013-05-21 21:34:36 +02:00
bluetooth
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2013-05-01 17:51:54 -07:00
bridge
netfilter: log: netns NULL ptr bug when calling from conntrack
2013-05-15 14:11:07 +02:00
caif
caif: Remove bouncing address for Daniel Martensson
2013-04-23 13:25:51 -04:00
can
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2013-05-01 17:51:54 -07:00
ceph
libceph: init sent and completed when starting
2013-05-13 12:52:23 -05:00
core
net/core: __hw_addr_unsync_one "from" address not marked synced
2013-05-31 16:56:56 -07:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
ieee802154
ipv4
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
2013-05-30 16:38:38 -07:00
ipv6
snmp6: remove IPSTATS_MIB_CSUMERRORS
2013-05-31 16:26:49 -07:00
ipx
irda
net: irda: using kzalloc() instead of kmalloc() to avoid strncpy() issue.
2013-05-19 15:10:47 -07:00
iucv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2013-04-22 20:32:51 -04:00
key
l2tp
lapb
llc
mac80211
mac80211: Allow single vif mac address change with addr_mask
2013-05-27 11:26:48 +02:00
mac802154
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2013-04-30 03:55:20 -04:00
netfilter
ipvs: ip_vs_sh: fix build
2013-05-29 17:50:39 +02:00
netlabel
netlabel: improve domain mapping validation
2013-05-19 14:49:55 -07:00
netlink
netlink: kconfig: move mmap i/o into netlink kconfig
2013-05-01 15:02:42 -04:00
netrom
netrom: info leak in ->getname()
2013-04-25 01:47:58 -04:00
nfc
NFC: Remove commented out LLCP related Makefile line
2013-05-21 10:47:41 +02:00
openvswitch
openvswitch: Remove unneeded ovs_netdev_get_ifindex()
2013-04-30 00:19:11 -04:00
packet
packet: tpacket_v3: do not trigger bug() on wrong header status
2013-05-03 16:10:33 -04:00
phonet
rds
rfkill
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
2013-04-22 14:58:14 -04:00
rose
rxrpc
sched
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2013-05-01 14:08:52 -07:00
sctp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2013-05-01 14:08:52 -07:00
sunrpc
Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux
2013-05-10 09:28:55 -07:00
tipc
tipc: potential divide by zero in tipc_link_recv_fragment()
2013-05-06 16:16:52 -04:00
unix
af_unix: fix a fatal race with bit fields
2013-05-01 15:13:49 -04:00
vmw_vsock
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2013-04-30 03:55:20 -04:00
wimax
wireless
cfg80211: fix reporting 64-bit station info tx bytes
2013-05-23 22:08:18 +02:00
x25
xfrm
xfrm: properly handle invalid states as an error
2013-05-23 01:20:07 -07:00
compat.c
Kconfig
netlink: kconfig: move mmap i/o into netlink kconfig
2013-05-01 15:02:42 -04:00
Makefile
nonet.c
socket.c
net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg
2013-05-28 23:55:41 -07:00
sysctl_net.c