50269e19ad990e79eeda101fc6df80cffd5d4831 |
|
24-Mar-2012 |
Eric Dumazet <eric.dumazet@gmail.com> |
net: add a truesize parameter to skb_add_rx_frag() skb_add_rx_frag() API is misleading. Network skbs built with this helper can use uncharged kernel memory and eventually stress/crash machine in OOM. Add a 'truesize' parameter and then fix drivers in followup patches. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
210787e82a0ac1ffb5d7be1c796f0c51050849ad |
|
08-Mar-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwl3945: fix possible il->txq NULL pointer dereference in delayed works On il3945_down procedure we free tx queue data and nullify il->txq pointer. After that we drop mutex and then cancel delayed works. There is possibility, that after drooping mutex and before the cancel, some delayed work will start and crash while trying to send commands to the device. For example, here is reported crash in il3945_bg_reg_txpower_periodic(): https://bugzilla.kernel.org/show_bug.cgi?id=42766#c10 Patch fix problem by adding il->txq check on works that send commands, hence utilize tx queue. Reported-by: Clemens Eisserer <linuxhippy@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
6668e4eb5030af96d2bde366b8f6614b34b8c96c |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: s/il_txq_mem/il_free_txq_mem/g Previous name was confusing. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
d87c771f47460f7ca943942d508f2b9bd223a7e0 |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: small queue initializations cleanup Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
775ed8abde9420afc955ca7540aacdce721be6c1 |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: do not grab nic access if rfkill If rfkill is on il_grab_nic_access() fail and we can not write to the various registers during stop procedure. Write to those registers unconditionally instead. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
288f9954132cd64f60fbb8051e31d62d8c35875f |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: get rid of tx/rx traffic log The same data can be gathered using monitor mode. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
c936355172a7e4aeadbbdcaae48f10e31f604899 |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge all ops structures into one Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
1600b87542ce93e3dc094f6b108d8c2953e2ca0e |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge il_lib_ops into il_ops Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
f03ee2a87e21f76928c10d822639ec437113d312 |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: remove il_apm_ops Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
a89268e8cdcd52680bda21ada05f2716c6466377 |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge eeprom_ops into lib_ops Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
93b7654ec563a929a62da70324e834eeb18a2778 |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: move debugfs_ops to il_priv Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
93a984a4eec83f45abddb80724da7dcb85b4db6b |
|
13-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: regulatory_bands is not an ops Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
00ea99e1d86b05e7ba90d66673b536b731af87cd |
|
03-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: remove struct il_tx_info It's just wrapper to sk_buff pointers ... Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
89ef1ed2d241d3dfe884055d8446a5dd94919e54 |
|
03-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge il_base_params into il_cfg Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
c39ae9fd505ae314a7a4a159a41e3e022cfa317f |
|
03-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: move ops out of config Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
83007196037cc2d0bffd9f7afbe56d675779a6cb |
|
03-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: get rid of ctx structure Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
b16db50a6dc486c3a6c32cd7982a75452cb785c2 |
|
03-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: move bcast_sta_id to hw_params Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
c8b03958d4b23dc48932ec095a391f3d6447e0e9 |
|
03-Feb-2012 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: move rxon commands out of ctx structure Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
81fb46139504f72a92243245df878e1a1af35f89 |
|
23-Dec-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: 3945: simplify calculations of retry limit Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
280ade5ea9555208716131765cc194069eaf97d9 |
|
23-Dec-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: 3945: get rid of hw_{set,get}_rate Remove these helpers, some are not unused at all, one can be unrolled in place of use. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
d71be937202853eda76562e9678073465d5c0fa8 |
|
23-Dec-2011 |
Dan Carpenter <dan.carpenter@oracle.com> |
iwlegacy: off by one in iwl3945_hw_build_tx_cmd_rate() We use "rate_index" like this: rate = iwl3945_rates[rate_index].plcp; The iwl3945_rates[] array has IWL_RATE_COUNT_3945 elements so the limit here is off by one. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
9b5e2f463ac6f53789bd5ce43d2bb4b4c01e8607 |
|
07-Sep-2011 |
Greg Dietsche <Gregory.Dietsche@cuw.edu> |
iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS Only setup structs related to debugfs_ops when CONFIG_IWLEGACY_DEBUGFS is set. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
1722f8e12a9c6117d872bd19ec5919460ccdfb4e |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: checkpatch.pl fixes Fix most checkpatch.pl ERRORs and some WARNINGs. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
e7392364fcd1004a5e495f15cf21b1e0ef874215 |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: indentions and whitespaces Process iwlegacy source files using: indent -npro -l500 -nhnl indent -npro -kr -i8 -ts8 -sob -l80 -nbbo -ss -ncs -cp1 -il0 -psl Plus manual compilation fixes. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
47ef694dd47b1e97a0d766f3c74067bab3debfa5 |
|
31-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge iwl-{eeprom,led}.h into common.h Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
e94a4099adb2ec148776975bcd953a01c6bec992 |
|
31-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge common header files Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
98613be06e9de8acd20841d2d85b99c39b3b7814 |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: rename iwl-core.h to common.h Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
d4459a99c41e0e4fe7e36b3816b461c42827fb80 |
|
31-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: rename iwl-commands.h to commands.h On the way remove also not needed iwl-fh.h include. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
d2dfb33ec9a8da257bb0e6ed2872af2fdf85260c |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: rename other handlers Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
6e9848b496cf256ba820094e88e78cc4f8304008 |
|
30-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: s/rx_reply/hdl/ Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
d0c72347bece3299a90351151c69c0f721f964ff |
|
30-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: s/rx_handler/handler/ Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
4d69c7521a90cba945b4720672b4511b1e541189 |
|
30-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: rename REPLY_ to N_ or C_ Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
db7746f78cab25ee39dd20f61d9b2e6b5993d8fa |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: s/STATISTICS/STATS/ Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
a6766ccdaf9cc80d565672516d429a562d1a732d |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: s/STATUS_/S_/ Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
6bbb1370c3083190cae8487c2c61c0d24f869e68 |
|
30-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: move iwl-3945-{,hw,fh,debugfs}.h to 3945.h Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
ecce1f09e847351d18e503e533000f781cac1d41 |
|
29-Aug-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: merge iwl-3945-led.c into 3945.c Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|
61fe55f61fb48b691251e0f75505674db77f5d29 |
|
15-Nov-2011 |
Stanislaw Gruszka <sgruszka@redhat.com> |
iwlegacy: rename base 4965 and 3945 file names Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
|