[PATCH net 0/3] llc2 station handler fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I was insprired by commit 91d27a8650d5359a7a320daeb35b88cdea15e3a8
('llc: free the right skb') to look into llc_station.c, and didn't like
what I saw.

These are *only* compile tested; hopefully you have some way to test
LLC.

Ben.

Ben Hutchings (3):
  llc2: Fix silent failure of llc_station_init()
  llc2: Call llc_station_exit() on llc2_init() failure path
  llc: Fix races between llc2 handler use and (un)registration

 include/net/llc.h     |    2 +-
 net/llc/af_llc.c      |    5 +++--
 net/llc/llc_input.c   |   21 +++++++++++++++++----
 net/llc/llc_station.c |   21 +++------------------
 4 files changed, 24 insertions(+), 25 deletions(-)


Attachment: signature.asc
Description: This is a digitally signed message part


[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux