#3 lec cleanup and changes

closed
nobody
None
5
2003-05-02
2003-02-11
chas williams
No

this patch includes mike westall's changes to convert
lec.c to spinlock() along with a little smp bug fix in
lec_arp_destroy(). other changes:

. renamed lec_arp_lock and lec_arp_unlock to
lec_arp_get and lec_arp_put to better reflect what
these functions are doing. as part of this change the
reference counter was renamed to lec_arp_users. also
changed lec_arp_check_expire to use atomic_read() the
original lec_arp_put was renamed to lec_arp_add (its
the complement to lec_arp_delete)

. when a flush request completes immediately empty the
pending frames for that connection instead of waiting
for the next ip (re)transmit to tickle the
lec_send_packet routine

. get the right minimum frame size for 802.3 and 802.5
(token ring)

. move the bridge routine hooks instead the bridging
ifdef to remove a warning during compile

. add a set_multicast() routine -- its a stub really
but essentially correct given the way multicast works
on the current lec. other parts of the kernel detect
the presence of this routine to determine if your
driver supports multicast.

. when stripping the lec_id, also correct skb->len

Discussion

  • chas williams
    chas williams
    2003-02-11

    lec cleanup

     
    Attachments
  • chas williams
    chas williams
    2003-05-02

    • status: open --> closed
     
  • chas williams
    chas williams
    2003-05-02

    Logged In: YES
    user_id=410152

    these changes have made it into the linux-kernel proper.

     
  • chas williams
    chas williams
    2003-05-02

    Logged In: YES
    user_id=410152

    these changes have made it into the linux-kernel proper.