summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-02 05:56:23 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-02 05:56:23 +0200
commit78e47fe4194ca7fac2cc29d25f1327db86922724 (patch)
treec4901a2d82fca5c1df8ebee8f7184a90e5e59e72 /drivers/net/xen-netfront.c
parentvirtio_net: convert to hw_features (diff)
downloadlinux-78e47fe4194ca7fac2cc29d25f1327db86922724.tar.xz
linux-78e47fe4194ca7fac2cc29d25f1327db86922724.zip
net: convert SMSC USB net drivers to hw_features
There's a race (not fixed here) in smsc75xx in setting RFE_CTL that's not properly handled via rfe_ctl_lock. Spinlock is not a good tool here, as this has to wait for URB completion (or maybe just submission) after issuing register write request. Otherwise, the rfe_ctl might be changed just after spin_unlock() and device left programmed with other value. smsc95xx has increased hard_header_len for the case of TX checksumming. smsc75xx is fixed to advertise IP+IPV6_CSUM instead of HW_CSUM as it does not use csum_start/csum_offset. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions