linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* re: ath6kl: pass only unicast frames for aggregation
@ 2011-10-05  5:59 Dan Carpenter
  2011-10-05 10:09 ` Kalle Valo
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2011-10-05  5:59 UTC (permalink / raw)
  To: Kalle Valo; +Cc: linux-wireless

Hi Kalle,

Smatch complains that 5694f962964 "ath6kl: pass only unicast frames
for aggregation"

drivers/net/wireless/ath/ath6kl/txrx.c
  1241                          if (conn && ar->intra_bss) {
  1242                                  skb1 = skb;
  1243                                  skb = NULL;
                                        ^^^^^^^^^^^
  1244                          } else if (conn && !ar->intra_bss) {
  1245                                  dev_kfree_skb(skb);
  1246                                  skb = NULL;
                                        ^^^^^^^^^^^
  1247                          }
  1248                  }
  1249                  if (skb1)
  1250                          ath6kl_data_tx(skb1, ar->net_dev);
  1251          }
  1252  
  1253          datap = (struct ethhdr *) skb->data;
                                          ^^^^^^^^^
skb can be NULL.

  1254  

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-06 11:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05  5:59 ath6kl: pass only unicast frames for aggregation Dan Carpenter
2011-10-05 10:09 ` Kalle Valo
2011-10-05 11:57   ` Jouni Malinen
2011-10-06 11:27     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).